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
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
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
[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
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
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
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
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
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
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165140 0039d316-1c4b-4281-b951-d872f2087c98
Exclude one more net_ test from Valgrind&friends runs
BUG=118883
TBR=thestig
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11368004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165141 0039d316-1c4b-4281-b951-d872f2087c98
Reserve resource ids starting at 31000 for projects built on Chromium.

Currently iOS has a bunch of strings in the internal repository and they are
repacked by the build in the same .pak. The intent of this CL is to have these 
strings in a protected range to prevent the possibility of sudden build
bustage due to collisions. As this seems like a general problem that anything
built on Chromium is likely to face, this CLs reserves the resource ids starting at
31000 for all projects built on top of Chromium.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165143 0039d316-1c4b-4281-b951-d872f2087c98
Enable SafeBrowsingServiceShutdownTest.DontStartAfterShutdown but on ChromeOS.

The failure is confirmed to be specific to ChromeOS, and not originated from
the tested part.

BUG=158285
TBR=mattm@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165144 0039d316-1c4b-4281-b951-d872f2087c98
Exclude more media tests from TSan runs
BUG=157793
TBR=thestig
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165145 0039d316-1c4b-4281-b951-d872f2087c98
Showing error for Drive when mounting first time in offline mode.

BUG=134703
TEST=Manual test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165146 0039d316-1c4b-4281-b951-d872f2087c98
bookmarks: Implement DragBookmarks() in the ui specific directories.

We need to do this in order to get rid of some c/b/ui deps from the shared
bookmark_utils.cc file and that will allow us to do that.

BUG=144783
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165147 0039d316-1c4b-4281-b951-d872f2087c98
Roll Skia DEPS to r6209

control: http://codereview.chromium.org/11347045/
Review URL: https://codereview.chromium.org/11347044

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