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

Unified Diff: chrome/browser/push_messaging/push_messaging_permission_context.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: moving all of push_messaging out 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.h
diff --git a/chrome/browser/services/gcm/push_messaging_permission_context.h b/chrome/browser/push_messaging/push_messaging_permission_context.h
similarity index 86%
rename from chrome/browser/services/gcm/push_messaging_permission_context.h
rename to chrome/browser/push_messaging/push_messaging_permission_context.h
index 0b4a49fb4f684d89a4d600c3d2e3a34fc050307c..54f9103570430ce8674f1e3a3e31e662577c8677 100644
--- a/chrome/browser/services/gcm/push_messaging_permission_context.h
+++ b/chrome/browser/push_messaging/push_messaging_permission_context.h
@@ -1,9 +1,9 @@
-// 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.
-#ifndef CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_PERMISSION_CONTEXT_H_
-#define CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_PERMISSION_CONTEXT_H_
+#ifndef CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_
+#define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_
#include "chrome/browser/content_settings/permission_context_base.h"
@@ -12,8 +12,6 @@
class PermissionRequestID;
class Profile;
-namespace gcm {
-
// Permission context for push messages.
class PushMessagingPermissionContext : public PermissionContextBase {
public:
@@ -58,5 +56,4 @@ class PushMessagingPermissionContext : public PermissionContextBase {
DISALLOW_COPY_AND_ASSIGN(PushMessagingPermissionContext);
};
-} // namespace gcm
-#endif // CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_PERMISSION_CONTEXT_H_
+#endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698