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

Unified Diff: chrome/browser/push_messaging/push_messaging_permission_context_unittest.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_permission_context_unittest.cc
diff --git a/chrome/browser/services/gcm/push_messaging_permission_context_unittest.cc b/chrome/browser/push_messaging/push_messaging_permission_context_unittest.cc
similarity index 98%
rename from chrome/browser/services/gcm/push_messaging_permission_context_unittest.cc
rename to chrome/browser/push_messaging/push_messaging_permission_context_unittest.cc
index f4ca9990f3fa1e1366328303cb2273cb16d54315..57e93727105ac6b471270b5067eed99f1626f07b 100644
--- a/chrome/browser/services/gcm/push_messaging_permission_context_unittest.cc
+++ b/chrome/browser/push_messaging/push_messaging_permission_context_unittest.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_permission_context.h"
+#include "chrome/browser/push_messaging/push_messaging_permission_context.h"
#include "chrome/test/base/testing_profile.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h"
@@ -14,8 +14,6 @@
const char kOriginA[] = "https://origina.org";
const char kOriginB[] = "https://originb.org";
-namespace gcm {
-
class TestPushMessagingPermissionContext
: public PushMessagingPermissionContext {
public:
@@ -162,5 +160,3 @@ TEST_F(PushMessagingPermissionContextTest, DecidePushPermission) {
EXPECT_TRUE(context.was_persisted());
EXPECT_TRUE(context.was_granted());
}
-
-} // namespace gcm

Powered by Google App Engine
This is Rietveld 408576698