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

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: add a DCHECK 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 5c1a2d37c8ab591dec67de8ce80dd4456aa69c8c..e554592ef22959a37ff00aabe1fddff63511befa 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(

Powered by Google App Engine
This is Rietveld 408576698