diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-09 21:11:41 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-09 21:11:41 +0000 |
commit | e1011c9cd18af7ec751bf94d02b3b37a7f64f92f (patch) | |
tree | 6a749a53f2ed1d45cc2ef7362a0b80650b3af646 /chrome/browser/ui/cocoa | |
parent | f22fae44c1e8dadee6cf78b7a01a6465dfe33656 (diff) | |
download | chromium_src-e1011c9cd18af7ec751bf94d02b3b37a7f64f92f.zip chromium_src-e1011c9cd18af7ec751bf94d02b3b37a7f64f92f.tar.gz chromium_src-e1011c9cd18af7ec751bf94d02b3b37a7f64f92f.tar.bz2 |
Move ownership of SigninGlobalError from SigninManager to
ProfileOAuth2TokenService.
BUG=249467
Review URL: https://chromiumcodereview.appspot.com/17007003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa')
-rw-r--r-- | chrome/browser/ui/cocoa/browser_window_controller_unittest.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm b/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm index 82032a1..d57e76f 100644 --- a/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm +++ b/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm @@ -707,10 +707,10 @@ TEST_F(BrowserWindowControllerTest, TestSigninMenuItemAuthError) { SigninManager* signin = SigninManagerFactory::GetForProfile(profile()); signin->SetAuthenticatedUsername(username); ProfileSyncService* sync = - ProfileSyncServiceFactory::GetForProfile(profile()); + ProfileSyncServiceFactory::GetForProfile(profile()); sync->SetSyncSetupCompleted(); // Force an auth error. - FakeAuthStatusProvider provider(signin->signin_global_error()); + FakeAuthStatusProvider provider(SigninGlobalError::GetForProfile(profile())); GoogleServiceAuthError error( GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS); provider.SetAuthError(error); |