cc: Fix passing initialized value to getInteger

Context3d verifies that argument to getInteger are cleared, which may
not be the case in ResourceProvider::InitializeGL after switching modes
or context loss.

The check looks something like:
[ERROR_REPORT:gles2_implementation_impl_autogen.h(591)] Check failed:
params && (params[0] == static_cast<GLint>(0) || params[0] ==
   static_cast<GLint>(-1)).

Fix by resetting it to 0 before getInteger.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238788 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238788
Media Galleries: Fix file system registration for PTP/MTP devices.

Even though MTP device paths are not real file paths, they currently also do not meet the criteria of IsolatedContext::RegisterFileSystemForVirtualPath(). This merge-friendly CL reverts two lines from r230870 to make MTP devices work again.

BUG=325013
TEST=manual, see bug.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238789 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238789
Ignore autocomplete='off' for usernames and passwords. Because autofilling requires a user gesture/interaction to complete into the DOM, we can safely ignore autocomplete='off' on forms for passwords and usernames. This will greatly increase our password autofill coverage and allow users to generate and store random passwords more regularly.

BUG=177288

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238790 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238790
Move mention of string_piece_utils.h in net.gyp to reflect new location.

In chromium r225890 string_piece_utils.h was moved from flip_server
to balsa. It appears that the string_piece_utils.h was left behind
in the gyp file. This CL updates net.gyp to reflect this. The file
string_piece_utils.h is only ever referenced from balsa.

R=rch@chromium.org

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

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