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

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: 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 89%
rename from chrome/browser/services/gcm/push_messaging_application_id.h
rename to chrome/browser/push_messaging/push_messaging_application_id.h
index ddb24d64dbbea8a648c49fdaeba152785e0f3bf7..19b6f9e6eb30f80a7f550c030376315b5d1e47a1 100644
--- a/chrome/browser/services/gcm/push_messaging_application_id.h
+++ b/chrome/browser/push_messaging/push_messaging_application_id.h
@@ -1,9 +1,9 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
Peter Beverloo 2015/02/24 18:08:37 Please don't modify the copyright years - we usual
// 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_

Powered by Google App Engine
This is Rietveld 408576698