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

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: rebase Created 4 years, 4 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 | « components/gcm_driver/BUILD.gn ('k') | components/gcm_driver/fake_gcm_profile_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fe17ee3699a128b11795f6d371d28aea78af5b2b 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_FAKE_GCM_PROFILE_SERVICE_H_
+#define COMPONENTS_GCM_DRIVER_FAKE_GCM_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_FAKE_GCM_PROFILE_SERVICE_H_
« no previous file with comments | « components/gcm_driver/BUILD.gn ('k') | components/gcm_driver/fake_gcm_profile_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698