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

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

Issue 955673004: Move gcm-independent parts of push messaging out of gcm namespace and directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove redundant cast Created 5 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
« no previous file with comments | « chrome/browser/services/gcm/OWNERS ('k') | chrome/browser/services/gcm/gcm_profile_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d2d2109cdfbe5eb0858b789bccd4fbc4c3e5837..e1926a3b4539a3b99c5364fbd9227cc330957bdd 100644
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.cc
+++ b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
@@ -115,8 +115,6 @@ KeyedService* FakeGCMProfileService::Build(content::BrowserContext* context) {
FakeGCMProfileService::FakeGCMProfileService(Profile* profile)
: collect_(false),
registration_count_(0) {
- static_cast<PushMessagingServiceImpl*>(push_messaging_service())
- ->SetProfileForTesting(profile);
}
FakeGCMProfileService::~FakeGCMProfileService() {}
« no previous file with comments | « chrome/browser/services/gcm/OWNERS ('k') | chrome/browser/services/gcm/gcm_profile_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698