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

Unified Diff: chrome/browser/push_messaging/push_messaging_application_id.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
Index: chrome/browser/push_messaging/push_messaging_application_id.cc
diff --git a/chrome/browser/services/gcm/push_messaging_application_id.cc b/chrome/browser/push_messaging/push_messaging_application_id.cc
similarity index 98%
rename from chrome/browser/services/gcm/push_messaging_application_id.cc
rename to chrome/browser/push_messaging/push_messaging_application_id.cc
index eb2b436e0379fe3f254438b36761e3e9bbcaeb79..c6b30e7a66484d7d3d834f56a208078665e5dc54 100644
--- a/chrome/browser/services/gcm/push_messaging_application_id.cc
+++ b/chrome/browser/push_messaging/push_messaging_application_id.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/services/gcm/push_messaging_application_id.h"
+#include "chrome/browser/push_messaging/push_messaging_application_id.h"
#include "base/guid.h"
#include "base/logging.h"
@@ -20,8 +20,6 @@ namespace {
const char kSeparator = '#'; // Ok as only the origin of the url is used.
} // namespace
-namespace gcm {
-
const char kPushMessagingApplicationIdPrefix[] = "wp:";
// static
@@ -168,5 +166,3 @@ bool PushMessagingApplicationId::IsValid() const {
&& !app_id_guid_.compare(0, prefix_len, kPushMessagingApplicationIdPrefix)
&& base::IsValidGUID(app_id_guid_.substr(prefix_len, std::string::npos));
}
-
-} // namespace gcm

Powered by Google App Engine
This is Rietveld 408576698