Shift by the right number of bytes when grabbing the high 32 bits.

When size_t is not 64 bits (8 bytes) but instead N < 8 bytes, we
want to grab the top N bytes from the 64-bit result.

This code was meant to do this:
hash64 >> (sizeof(uint64) - sizeof(std::size_t))

But this translates to:
hash64 >> (8 - N)

And 8-N is the number of bytes we want to shift, not the number of
bits, where as operator>> excepts a number of bits.

Fix this to correct the algorithm for platforms with small size_t.

R=ajwong
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253557 0039d316-1c4b-4281-b951-d872f2087c98
Modify user cloud policy to make use of the new ReadFileToString function

The CL modifies cloud policy code to make use of the new API.

Late review comments to the CL 251771 is also fixed in this CL.

BUG=339417

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253558 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253557
drive: Remove preserve_last_modified argument from Move()

No one wants to update last_modifed with Move and this argument is quite misleading.
preserve_last_modified==false did not mean last_modified should be updated,
but it just meant "don't care".

BUG=346625
TEST=unit_tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253559 0039d316-1c4b-4281-b951-d872f2087c98
[App Shell] Include all chrome-specific resources in app_shell.pak.

With this patch, now app_shell only needs its own app_shell.pak resource
file.

BUG=344974
R=jamescook@chromium.org,tfarina@chromium.org

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

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