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

Unified Diff: chrome/browser/push_messaging/push_messaging_permission_context.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.cc
diff --git a/chrome/browser/services/gcm/push_messaging_permission_context.cc b/chrome/browser/push_messaging/push_messaging_permission_context.cc
similarity index 98%
rename from chrome/browser/services/gcm/push_messaging_permission_context.cc
rename to chrome/browser/push_messaging/push_messaging_permission_context.cc
index 0a2d6a32cb5788493f0008008d5e8150d0f00a2b..885589e1934a05d35bc4676d92265896a813dc54 100644
--- a/chrome/browser/services/gcm/push_messaging_permission_context.cc
+++ b/chrome/browser/push_messaging/push_messaging_permission_context.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/browser/content_settings/permission_context_uma_util.h"
#include "chrome/browser/notifications/desktop_notification_service.h"
@@ -17,8 +17,6 @@
const ContentSettingsType kPushSettingType =
CONTENT_SETTINGS_TYPE_PUSH_MESSAGING;
-namespace gcm {
-
PushMessagingPermissionContext::PushMessagingPermissionContext(Profile* profile)
: PermissionContextBase(profile, CONTENT_SETTINGS_TYPE_PUSH_MESSAGING),
profile_(profile),
@@ -138,5 +136,3 @@ void PushMessagingPermissionContext::DecidePushPermission(
NotifyPermissionSet(id, requesting_origin, embedding_origin, callback,
true /* persist */, CONTENT_SETTING_ALLOW);
}
-} // namespace gcm
-

Powered by Google App Engine
This is Rietveld 408576698