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 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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" 8 #include "base/prefs/pref_service.h"
9 #include "build/build_config.h"
9 #include "components/signin/core/browser/account_tracker_service.h" 10 #include "components/signin/core/browser/account_tracker_service.h"
10 #include "components/signin/core/browser/signin_metrics.h" 11 #include "components/signin/core/browser/signin_metrics.h"
11 12
12 FakeSigninManagerBase::FakeSigninManagerBase( 13 FakeSigninManagerBase::FakeSigninManagerBase(
13 SigninClient* client, 14 SigninClient* client,
14 AccountTrackerService* account_tracker_service) 15 AccountTrackerService* account_tracker_service)
15 : SigninManagerBase(client, account_tracker_service) {} 16 : SigninManagerBase(client, account_tracker_service) {}
16 17
17 FakeSigninManagerBase::~FakeSigninManagerBase() {} 18 FakeSigninManagerBase::~FakeSigninManagerBase() {}
18 19
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 set_password(std::string()); 80 set_password(std::string());
80 const std::string account_id = GetAuthenticatedAccountId(); 81 const std::string account_id = GetAuthenticatedAccountId();
81 const std::string username = GetAuthenticatedAccountInfo().email; 82 const std::string username = GetAuthenticatedAccountInfo().email;
82 authenticated_account_id_.clear(); 83 authenticated_account_id_.clear();
83 84
84 FOR_EACH_OBSERVER(SigninManagerBase::Observer, observer_list_, 85 FOR_EACH_OBSERVER(SigninManagerBase::Observer, observer_list_,
85 GoogleSignedOut(account_id, username)); 86 GoogleSignedOut(account_id, username));
86 } 87 }
87 88
88 #endif // !defined (OS_CHROMEOS) 89 #endif // !defined (OS_CHROMEOS)
OLDNEW
« no previous file with comments | « components/signin/core/browser/fake_signin_manager.h ('k') | components/signin/core/browser/gaia_cookie_manager_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698