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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 net::URLRequest* request, 193 net::URLRequest* request,
194 net::CertificateMimeType cert_type, 194 net::CertificateMimeType cert_type,
195 const void* cert_data, 195 const void* cert_data,
196 size_t cert_size, 196 size_t cert_size,
197 int render_process_id, 197 int render_process_id,
198 int render_view_id) OVERRIDE; 198 int render_view_id) OVERRIDE;
199 virtual content::MediaObserver* GetMediaObserver() OVERRIDE; 199 virtual content::MediaObserver* GetMediaObserver() OVERRIDE;
200 virtual void RequestDesktopNotificationPermission( 200 virtual void RequestDesktopNotificationPermission(
201 const GURL& source_origin, 201 const GURL& source_origin,
202 content::RenderFrameHost* render_frame_host, 202 content::RenderFrameHost* render_frame_host,
203 base::Closure& callback) OVERRIDE; 203 const base::Closure& callback) OVERRIDE;
204 virtual blink::WebNotificationPresenter::Permission 204 virtual blink::WebNotificationPresenter::Permission
205 CheckDesktopNotificationPermission( 205 CheckDesktopNotificationPermission(
206 const GURL& source_origin, 206 const GURL& source_origin,
207 content::ResourceContext* context, 207 content::ResourceContext* context,
208 int render_process_id) OVERRIDE; 208 int render_process_id) OVERRIDE;
209 virtual void ShowDesktopNotification( 209 virtual void ShowDesktopNotification(
210 const content::ShowDesktopNotificationHostMsgParams& params, 210 const content::ShowDesktopNotificationHostMsgParams& params,
211 content::RenderFrameHost* render_frame_host, 211 content::RenderFrameHost* render_frame_host,
212 content::DesktopNotificationDelegate* delegate, 212 content::DesktopNotificationDelegate* delegate,
213 base::Closure* cancel_callback) OVERRIDE; 213 base::Closure* cancel_callback) OVERRIDE;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 prerender::PrerenderTracker* prerender_tracker_; 316 prerender::PrerenderTracker* prerender_tracker_;
317 317
318 friend class DisableWebRtcEncryptionFlagTest; 318 friend class DisableWebRtcEncryptionFlagTest;
319 319
320 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 320 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
321 }; 321 };
322 322
323 } // namespace chrome 323 } // namespace chrome
324 324
325 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 325 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« 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