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

Unified Diff: chrome/browser/services/gcm/push_messaging_permission_context.cc

Issue 896173002: Clean-up refactoring of chrome_content_browser_client to use GetPermissionContext consistently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix linker 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/services/gcm/push_messaging_permission_context.cc
diff --git a/chrome/browser/services/gcm/push_messaging_permission_context.cc b/chrome/browser/services/gcm/push_messaging_permission_context.cc
index 0cb23dab9da186fe350965b97e6194d4a79fab53..07a9a414ed5c7e26b3c177721c1d44af67fce549 100644
--- a/chrome/browser/services/gcm/push_messaging_permission_context.cc
+++ b/chrome/browser/services/gcm/push_messaging_permission_context.cc
@@ -63,6 +63,11 @@ ContentSetting PushMessagingPermissionContext::GetPermissionStatus(
#endif
}
+void PushMessagingPermissionContext::CancelPermissionRequest(
+ content::WebContents* web_contents, const PermissionRequestID& id) {
+ NOTIMPLEMENTED() << "CancelPermission not implemented for push messaging";
Peter Beverloo 2015/02/04 14:56:53 Does Push need to implement CancelPermissionReques
timvolodine 2015/02/04 16:15:37 This was actually meant as a refactoring, and I ad
+}
+
// Unlike other permissions, push is decided by the following algorithm
// - You need to request it from a top level domain
// - You need to have notification permission granted.

Powered by Google App Engine
This is Rietveld 408576698