From e1011c9cd18af7ec751bf94d02b3b37a7f64f92f Mon Sep 17 00:00:00 2001 From: "rogerta@chromium.org" Date: Tue, 9 Jul 2013 21:11:41 +0000 Subject: 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 --- chrome/browser/ui/cocoa/browser_window_controller_unittest.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/ui/cocoa') 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); -- cgit v1.1