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

Unified Diff: chrome/browser/chrome_content_browser_client.h

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: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 4ea44b3fb3c4cf201d36398217eeb0dcb79629a8..66860f16e205cc80b0aec117a3c6fb075b8a7150 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -180,16 +180,8 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
int render_process_id,
int render_frame_id) override;
content::MediaObserver* GetMediaObserver() override;
- blink::WebNotificationPermission CheckDesktopNotificationPermission(
- const GURL& source_origin,
- content::ResourceContext* context,
- int render_process_id) override;
- void ShowDesktopNotification(
- const content::ShowDesktopNotificationHostMsgParams& params,
- content::BrowserContext* browser_context,
- int render_process_id,
- scoped_ptr<content::DesktopNotificationDelegate> delegate,
- base::Closure* cancel_callback) override;
+ content::PlatformNotificationService* GetPlatformNotificationService()
+ override;
void RequestPermission(
content::PermissionType permission,
content::WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698