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

Unified Diff: chrome/browser/push_messaging/push_messaging_application_id.h

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
Index: chrome/browser/push_messaging/push_messaging_application_id.h
diff --git a/chrome/browser/services/gcm/push_messaging_application_id.h b/chrome/browser/push_messaging/push_messaging_application_id.h
similarity index 91%
rename from chrome/browser/services/gcm/push_messaging_application_id.h
rename to chrome/browser/push_messaging/push_messaging_application_id.h
index ddb24d64dbbea8a648c49fdaeba152785e0f3bf7..dea7a595347c7cef460666a717df2834a6e35048 100644
--- a/chrome/browser/services/gcm/push_messaging_application_id.h
+++ b/chrome/browser/push_messaging/push_messaging_application_id.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_PUSH_MESSAGING_APPLICATION_ID_H_
-#define CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_APPLICATION_ID_H_
+#ifndef CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_APPLICATION_ID_H_
+#define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_APPLICATION_ID_H_
#include <string>
#include <vector>
@@ -17,8 +17,6 @@ namespace user_prefs {
class PrefRegistrySyncable;
}
-namespace gcm {
-
// The prefix used for all push messaging application ids.
extern const char kPushMessagingApplicationIdPrefix[];
@@ -80,6 +78,4 @@ class PushMessagingApplicationId {
int64 service_worker_registration_id_;
};
-} // namespace gcm
-
-#endif // CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_APPLICATION_ID_H_
+#endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_APPLICATION_ID_H_
« no previous file with comments | « chrome/browser/push_messaging/OWNERS ('k') | chrome/browser/push_messaging/push_messaging_application_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698