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

Unified Diff: components/gcm_driver/fake_gcm_profile_service.h

Issue 2122603007: Move FakeGCMProfileService to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: buildfix - include paths Created 4 years, 5 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: components/gcm_driver/fake_gcm_profile_service.h
diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.h b/components/gcm_driver/fake_gcm_profile_service.h
similarity index 90%
rename from chrome/browser/services/gcm/fake_gcm_profile_service.h
rename to components/gcm_driver/fake_gcm_profile_service.h
index aabba5e5aaf0b6edbfaea1d26afdb41eeda48eb9..dc6c42ac7b0e86daf86e01cc9a8831296fce4410 100644
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.h
+++ b/components/gcm_driver/fake_gcm_profile_service.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
-#define CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
+#ifndef COMPONENTS_GCM_DRIVER_GCM_FAKE_PROFILE_SERVICE_H_
Peter Beverloo 2016/07/08 14:00:01 nit: COMPONENTS_GCM_DRIVER_FAKE_GCM_PROFILE_SERVIC
+#define COMPONENTS_GCM_DRIVER_GCM_FAKE_PROFILE_SERVICE_H_
#include <list>
#include <memory>
@@ -30,7 +30,7 @@ class FakeGCMProfileService : public GCMProfileService {
// KeyedService::SetTestingFactory().
static std::unique_ptr<KeyedService> Build(content::BrowserContext* context);
- explicit FakeGCMProfileService(Profile* profile);
+ FakeGCMProfileService();
~FakeGCMProfileService() override;
void RegisterFinished(const std::string& app_id,
@@ -86,4 +86,4 @@ class FakeGCMProfileService : public GCMProfileService {
} // namespace gcm
-#endif // CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
+#endif // COMPONENTS_GCM_DRIVER_GCM_FAKE_PROFILE_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698