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

Unified Diff: chrome/browser/services/gcm/gcm_profile_service_unittest.cc

Issue 137553007: User cloud policy token forwarder: Replace PO2TS::GetPrimaryAccountId() with SMB::GetAuthenticatedAc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/services/gcm/gcm_profile_service_unittest.cc
diff --git a/chrome/browser/services/gcm/gcm_profile_service_unittest.cc b/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
index cb9c7df424450311dd21d2893c6c353730b2bc47..8962ea854d68ffe77f8d331ccaa4294f1ec9cf58 100644
--- a/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
+++ b/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
@@ -139,6 +139,7 @@ class FakeSigninManager : public SigninManagerBase {
void SignOut() {
clear_authenticated_username();
+ profile()->GetPrefs()->ClearPref(prefs::kGoogleServicesUsername);
fgorski 2014/03/05 19:00:28 Could you change the code to this: const std::st
Roger Tawa OOO till Jul 10th 2014/03/05 19:12:46 Good catch! Done.
GoogleServiceSignoutDetails details(GetAuthenticatedUsername());
fgorski 2014/03/05 19:00:28 And use username here.
Roger Tawa OOO till Jul 10th 2014/03/05 19:12:46 Done.
content::NotificationService::current()->Notify(
« no previous file with comments | « chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_factory.cc ('k') | chrome/browser/signin/signin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698