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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 296043014: Cleanup: Do not pass a non-const ref in RequestDesktopNotificationPermission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8e71ba341b5a7e396cf6b1db913edfb7bc3b4bbf..f7d7dba725d7c652b0c69ddd3d57148b9af6012a 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -200,7 +200,7 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
virtual void RequestDesktopNotificationPermission(
const GURL& source_origin,
content::RenderFrameHost* render_frame_host,
- base::Closure& callback) OVERRIDE;
+ const base::Closure& callback) OVERRIDE;
virtual blink::WebNotificationPresenter::Permission
CheckDesktopNotificationPermission(
const GURL& source_origin,
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698