summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests_unit.gypi
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-22 10:49:39 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-22 10:49:39 +0000
commit9819fd0996f70706bc4efd21d2a3f4bd172deda8 (patch)
tree2fb1920ddd4c8623217cedc5e189fdd84bd31daa /chrome/chrome_tests_unit.gypi
parent9fec8755f9af45d998a729d655892fedc14eb3a7 (diff)
downloadchromium_src-9819fd0996f70706bc4efd21d2a3f4bd172deda8.zip
chromium_src-9819fd0996f70706bc4efd21d2a3f4bd172deda8.tar.gz
chromium_src-9819fd0996f70706bc4efd21d2a3f4bd172deda8.tar.bz2
Convert UserPolicySigninService to use OAuth2TokenService
Updated UserPolicySigninService to use OAuth2TokenService and refactored the Android code to allow the android implementation to be shared with desktop. Added a FakeProfileOAuth2TokenService and added associated refactorings of OAuth2TokenService to support it. Updated various unit tests to use new FakeProfileOAuth2TokenService instead of rolling their own mocks. Updated TestingProfile::Builder to enable setting testing factories before any services are created - this is required because UserPolicySigninService is instantiated at profile creation time, and this means there is no way to inject a custom instance. Updated TestingProfile::Builder to support setting a TestingProfile as incognito at construction time. This is required because otherwise you have a situation where services will be created at profile creation time, that should not exist for incognito profiles. BUG=265831 TBR=estade,isherman Review URL: https://chromiumcodereview.appspot.com/23068005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218990 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests_unit.gypi')
-rw-r--r--chrome/chrome_tests_unit.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi
index 84e565b..1ff276a 100644
--- a/chrome/chrome_tests_unit.gypi
+++ b/chrome/chrome_tests_unit.gypi
@@ -163,6 +163,8 @@
'browser/search_engines/template_url_service_test_util.h',
'browser/sessions/session_service_test_helper.cc',
'browser/sessions/session_service_test_helper.h',
+ 'browser/signin/fake_profile_oauth2_token_service.cc',
+ 'browser/signin/fake_profile_oauth2_token_service.h',
'browser/signin/fake_signin_manager.cc',
'browser/signin/fake_signin_manager.h',
'browser/ssl/ssl_client_auth_requestor_mock.cc',