ui/base/resource: Remove dependency on net's big_endian implementation.

To remove this dependency we ended up moving big_endian* to base/, since besides ui/,
big_endian is also used by other top-level modules: chrome/utility/, cloud_print, media/cast

This way we removed one more net dependency from ui/base/.

BUG=299841
TEST=ui_unittests
R=tony@chromium.org,mark@chromium.org,hclam@chromium.org,vitalybuka@chromium.org
TBR=ben@chromium.org

Review URL: https://codereview.chromium.org/145873006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253510 0039d316-1c4b-4281-b951-d872f2087c98
Allow cr.ui.ArrayDataModel to update its item with the new value.

Currently cr.ui.ArrayDataModel does not provide a way to update its item without
losing its identity.  We can replace the item by using splice method, but the
existing item and the new item are regarded as different items.
This CL adds an update mehtod to cr.ui.ArrayDataModel.

BUG=none
TEST=use the new method in Files.app.

Review URL: https://codereview.chromium.org/152213003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253511 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253511