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

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 e32344940ef368946620a3856aceb1006f125c10..d8d21b334fdd9b362da79e1d2579de1201bb6a30 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -219,12 +219,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(

Powered by Google App Engine
This is Rietveld 408576698