Ensure using chrome://thumb2/... adds the URL as a forced URL in TopSites so that a thumbnail is captured next time it is visited.

Following up on patches:
- https://codereview.chromium.org/53283004/
- https://codereview.chromium.org/39053005/

BUG=

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

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

* Don't return values callers don't use
* Rename a temp in anticipation of refactor patch
* Use Pass() where PassAs<>() is not necessary
* Minor comment/whitespace changes
* Don't NULL-check web_contents() when we're owned (should never be NULL)
* Don't bother storing delegate pointers on infobar subclasses, just downcast
  the base class' pointer (matches other platforms)
* Remove unnecessary DCHECKs (either other code performs them or they will no
  longer be necesssary in the refactored world)
* Remove unnecessary temps
* Speed up vector manipulation by not creating a bunch of objects we then
  overwrite
* DCHECK(expected, actual)

BUG=none
TEST=none
R=miguelg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236640 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 236640
Pepper: Use QuotaFileIO for SetLength, FileUtilProxy for Touch.
Now that FileIO is in the browser, we can use QuotaFileIO for SetLength and
FileUtilProxy for Touch.

Previously, we allowed SetLength without quota checks, and without even
opening the file with write access.

In order for Touch to succeed on Windows, we must set the
FILE_WRITE_ATTRIBUTES flag when we translate from Pepper open flags to
PlatformFile flags. Since the Pepper docs indicate that Touch should
succeed without write access, we always allow FILE_WRITE_ATTRIBUTES.
This should be OK since there is no way for untrusted apps to set
attributes other than file times.

BUG=313426

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

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