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

Unified Diff: chrome/browser/download/download_request_limiter.h

Issue 525793002: Make WebContentsObserver::web_contents() public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 6 years, 3 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
Index: chrome/browser/download/download_request_limiter.h
diff --git a/chrome/browser/download/download_request_limiter.h b/chrome/browser/download/download_request_limiter.h
index 3a1eb2cd299ecb679d34896cfb2f118e6d4e02ec..c0ed0ed409a0e65397c5aad19e32d444e0fd4179 100644
--- a/chrome/browser/download/download_request_limiter.h
+++ b/chrome/browser/download/download_request_limiter.h
@@ -101,11 +101,6 @@ class DownloadRequestLimiter
return download_count_;
}
- // Promote protected accessor to public.
- content::WebContents* web_contents() const {
- return content::WebContentsObserver::web_contents();
- }
-
// content::WebContentsObserver overrides.
virtual void AboutToNavigateRenderView(
content::RenderViewHost* render_view_host) OVERRIDE;
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698