Add ExtensionsTestBrowserContext class for test.
commit62e036266137dbc9787ba2d5422ba6255b1c58b0
authorlimasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 19 Jul 2014 12:47:27 +0000 (19 12:47 +0000)
committerlimasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 19 Jul 2014 12:47:27 +0000 (19 12:47 +0000)
tree8eecbc5666aefbe622dcf48213f97ef3ab2f0f54
parentcf8cd3d1189f7b646f7ad1fb9488f64a724c9fb4
Add ExtensionsTestBrowserContext class for test.
and Use ExtensionTestBrowserContext for ImageLoader unittest.

ExtensionsTestBrowserContext class does
set TestExtensionsBrowserClient from constructor and
call DestroyBrowserContextServices from destructor.

ExtensionTestBrowserContext will be used instead of TestingProfile.

R=yoz@chromium.org, rdevlin@chromium.org
BUG=354046
TEST=unit_tests --gtest_filter=ImageLoaderTest.DeleteExtensionWhileWaitingForCache

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284330 0039d316-1c4b-4281-b951-d872f2087c98
chrome/chrome_tests_unit.gypi
extensions/browser/extensions_test_browser_context.cc [new file with mode: 0644]
extensions/browser/extensions_test_browser_context.h [new file with mode: 0644]
extensions/browser/image_loader_unittest.cc
extensions/extensions.gyp