Pull invalidation source ID constants from proto.

As cacheinvalidation constants change is upstreamed, we pull these
constants to Chrome.

This CL is dependent on
http://codereview.chromium.org/11194078/

BUG=157546
TEST=compiles, pass all existing tests.

Review URL: https://chromiumcodereview.appspot.com/11274005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165122 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 165122
Pass a pointer with auxilliary data to a policy function.
This data can be used by the policy to communicate with the method that set up policy.
In BPF_TEST()s it allows us to avoid global variables.


BUG=130662
TEST=sandbox_linux_unittests


Review URL: https://chromiumcodereview.appspot.com/11230048

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165123 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 165123
When a font family pref changes to the empty string, pass it to WebKit.

The empty string means to fall back to the pref for the Common script ("Zyyy").
For example, if chrome.fonts.serif.Cyrl is the empty string, it means to use
chrome.fonts.serif.Zyyy for Cyrillic script. Prefs that are the empty string are
normally not passed to WebKit since there are so many of them that doing so
would cause a perf regression (see r164050 and its revert r164294). Not passing
the pref is normally okay since WebKit does the desired fallback behavior
regardless of whether the empty string is passed or the pref is not passed at
all. But if the pref has changed from non-empty to the empty string, we must
let WebKit know.

BUG=157558


Review URL: https://chromiumcodereview.appspot.com/11336008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165125 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 165125
[Win, MediaGallery] Enumerate and handle media transfer protocol (windows portable) device attach/detach events.

Added code to:
(1) Enumerate attached portable mtp devices.
(2) Handle new mtp device arrival and detach events.
(3) Extract mtp device details such as friendly name, device storage unique id, etc.

BUG=151679
TEST=none

Review URL: https://chromiumcodereview.appspot.com/11088012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165126 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 165126
Updating trunk VERSION from 1313.0 to 1314.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165128 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 165128
Add support for extra input files to repack_locales.py.

Generating the Chromium resources for iOS needs to run the repack_locale.py
on other grd files than the ones hard coded in repack_locales.py. This CL adds
support to repack extra input files by passing them with argument
"-e <resource_file>" on its command line.

Use optparse to parse command line arguments in repack_locales.py to allow
the user to pass multiple extra input files arguments (multiple "-e" arguments).


Review URL: https://chromiumcodereview.appspot.com/11336010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165130 0039d316-1c4b-4281-b951-d872f2087c98
Don't use CanonicalCookie::Create method for creating canonical cookies in the BrowsingDataCookieHelper. This results in wrong default values if no cookie-domain attribute is given in the cookie-string.

BUG=158448

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165131 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 165131
Chrome remote control multi-page tests: Enable printing out histograms.

BUG=158323

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

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

...and putting it into namespace "extensions".


BUG=101244
TEST=N/A (moving code only, no change in function)
TBR=jhawkins@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11352003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165133 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 165133
Fix the crash issue of Android ContentShell when open a link with "target='_blank'".

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/11300006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165137 0039d316-1c4b-4281-b951-d872f2087c98
Webkit roll 132920:132994.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165138 0039d316-1c4b-4281-b951-d872f2087c98
Exclude SpdyNetworkTransactionSpdy tests under all memory tools
BUG=118883
TBR=thestig
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11362004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165139 0039d316-1c4b-4281-b951-d872f2087c98