Blink roll 162145:162160

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=162146:162160&mode=html
TBR=
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235524 0039d316-1c4b-4281-b951-d872f2087c98
Fix usage of ScopedTempDir in native_messaging_apitest.cc.

Running browser_tests was leaving behind a "com.google.chrome.test.echo.json"
file. This was caused by a ScopedTempDir that didn't create a temp dir before
being used.

BUG=None
R=jochen@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235526 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 235526
Fix the observer of the kMetricsReportingEnabled pref.

This observer makes sure that the "Consent To Send Stats" file follows the value
of the kMetricsReportingEnabled pref, which can be configured by the user or by
management policy.

However, OptionsUtil::ResolveMetricsReportingEnabled also Starts/Stops the
MetricsService but it should never start under some conditions (e.g. on
non-official builds).

This fix calls GoogleUpdateSettings::SetCollectStatsConsent directly to update
the state of the file, without changing the current state of the MetricsService.

BUG=318761
R=jochen@chromium.org

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

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