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 |