Make CookieMonster::Delegate top-level and remove global CookieMonster::EnableFileScheme().

Also, in all modules that depend on content, replaces direct creation of new
net::CookieMonster() with content::CreateInMemoryCookieStore(). This creation
method knows how to respect the --enable-file-cookies flag. Makes webkit
layout tests work.

Relanding parts of https://chromiumcodereview.appspot.com/12546016

TBR=jam,rsleevi,boliu,esprehn
BUG=159193, 331424

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243027 0039d316-1c4b-4281-b951-d872f2087c98
Emit test name in FATAL logs.

Today failing android tests make it difficult/impossible to correlate logcat
output with test failures.  This CL adds the test name to the logcat output
between the 'F chromium: [FATAL' backtrace and the system-generated tombstone
(which previously appeared consecutively, with no mention of which test failed).

Contrived example (gotten by throwing a LOG(FATAL) into webrtc_browsertest.cc:572):

        12-19 11:12:46.126 20361 20361 F chromium: [FATAL:webrtc_browsertest.cc(572)] AMI: yo!
        12-19 11:12:46.126 20361 20361 F chromium: #00 0x757b9475 /data/app-lib/org.chromium.content_browsertests_apk-1/libbase.cr.so+0x0006a475
        [...]
        12-19 11:12:46.126 20361 20361 F chromium: #40 0x4010634b /system/lib/libc.so+0x0000e34b
        12-19 11:12:46.126 20361 20361 F chromium:
NEW-->  12-19 11:12:46.126 20361 20361 E chromium: [ERROR:test_suite.cc(231)] Currently running: WebrtcBrowserTest.EstablishAudioVideoCallAndMeasureOutputLevel
        12-19 11:12:46.126 20361 20361 F libc    : Fatal signal 6 (SIGABRT) at 0x00004f89 (code=-6), thread 20361 (rowsertests_apk)
        12-19 11:12:46.236 30166 30166 I DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
        12-19 11:12:46.236 30166 30166 I DEBUG   : Build fingerprint: 'google/hammerhead/hammerhead:4.4.2/KK/eng.fischman.20131206.175945:userdebug/dev-keys'
        12-19 11:12:46.236 30166 30166 I DEBUG   : Revision: '11'
        [...]

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243028 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 243028
Refactor the component updater update check code into its own class.

The idea here is to decouple the code that does update checks and
speaks the Google Update protocol from the rest of the service.

If we want to secure the update channel using our custom message signing,
then changes will be localized to the UpdateChecker module and not touch
the service code.

Also, this change avoids spilling protocol details and XML formatting in
the service module by encapsulating them in the UpdateChecker class.

BUG=330956

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

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