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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 774573003: Start pulling away notification logic from ChromeContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index c5c672f6b3d50477b0c52333b9bf867d272a77d8..33c7784e8b7badec6f44692b3063e90e030a961c 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -211,12 +211,9 @@ MediaObserver* ContentBrowserClient::GetMediaObserver() {
return NULL;
}
-blink::WebNotificationPermission
-ContentBrowserClient::CheckDesktopNotificationPermission(
- const GURL& source_origin,
- ResourceContext* context,
- int render_process_id) {
- return blink::WebNotificationPermissionDenied;
+PlatformNotificationService*
+ContentBrowserClient::GetPlatformNotificationService() {
+ return NULL;
}
void ContentBrowserClient::RequestPermission(
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/platform_notification_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698