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 97% |
rename from chrome/browser/services/gcm/push_messaging_application_id.cc |
rename to chrome/browser/push_messaging/push_messaging_application_id.cc |
index c35e396821c219d76c4d2a3f01dd7781028aba3c..c7cb8e7cda0d7308987a821f4f46d08146f06fc1 100644 |
--- a/chrome/browser/services/gcm/push_messaging_application_id.cc |
+++ b/chrome/browser/push_messaging/push_messaging_application_id.cc |
@@ -1,8 +1,8 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
// 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" |
@@ -19,8 +19,6 @@ namespace { |
const char kSeparator = '#'; // Ok as only the origin of the url is used. |
} // namespace |
-namespace gcm { |
- |
const char kPushMessagingApplicationIdPrefix[] = "wp:"; |
// static |
@@ -158,5 +156,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 |