Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: components/signin/core/browser/fake_signin_manager.cc

Issue 1651203002: Update components for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/signin/core/browser/fake_signin_manager.h" 5 #include "components/signin/core/browser/fake_signin_manager.h"
6 6
7 #include "base/callback_helpers.h" 7 #include "base/callback_helpers.h"
8 #include "base/prefs/pref_service.h"
9 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "components/prefs/pref_service.h"
10 #include "components/signin/core/browser/account_tracker_service.h" 10 #include "components/signin/core/browser/account_tracker_service.h"
11 #include "components/signin/core/browser/signin_metrics.h" 11 #include "components/signin/core/browser/signin_metrics.h"
12 12
13 FakeSigninManagerBase::FakeSigninManagerBase( 13 FakeSigninManagerBase::FakeSigninManagerBase(
14 SigninClient* client, 14 SigninClient* client,
15 AccountTrackerService* account_tracker_service) 15 AccountTrackerService* account_tracker_service)
16 : SigninManagerBase(client, account_tracker_service) {} 16 : SigninManagerBase(client, account_tracker_service) {}
17 17
18 FakeSigninManagerBase::~FakeSigninManagerBase() {} 18 FakeSigninManagerBase::~FakeSigninManagerBase() {}
19 19
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 set_password(std::string()); 85 set_password(std::string());
86 const std::string account_id = GetAuthenticatedAccountId(); 86 const std::string account_id = GetAuthenticatedAccountId();
87 const std::string username = GetAuthenticatedAccountInfo().email; 87 const std::string username = GetAuthenticatedAccountInfo().email;
88 authenticated_account_id_.clear(); 88 authenticated_account_id_.clear();
89 89
90 FOR_EACH_OBSERVER(SigninManagerBase::Observer, observer_list_, 90 FOR_EACH_OBSERVER(SigninManagerBase::Observer, observer_list_,
91 GoogleSignedOut(account_id, username)); 91 GoogleSignedOut(account_id, username));
92 } 92 }
93 93
94 #endif // !defined (OS_CHROMEOS) 94 #endif // !defined (OS_CHROMEOS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698