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

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

Issue 165993005: [GCM] Make sure GCM checkout logic is invoked when the profile is signed out (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test 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/fake_gcm_profile_service.cc
diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.cc b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
index dad6bff74bc41353feebd84884f721bac0888f6f..c124f4f5ad21e72b98bc82813955a18625f9d55b 100644
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.cc
+++ b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
@@ -19,11 +19,6 @@ BrowserContextKeyedService* FakeGCMProfileService::Build(
return new FakeGCMProfileService(profile);
}
-// static
-void FakeGCMProfileService::EnableGCMForTesting() {
- GCMProfileService::enable_gcm_for_testing_ = true;
-}
-
FakeGCMProfileService::FakeGCMProfileService(Profile* profile)
: GCMProfileService(profile),
collect_(false) {}

Powered by Google App Engine
This is Rietveld 408576698