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

Unified Diff: chrome/browser/infobars/infobar_service.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/infobars/infobar_service.h
diff --git a/chrome/browser/infobars/infobar_service.h b/chrome/browser/infobars/infobar_service.h
index 7a07de00062eac2d08f037c85260ae94fc8b4988..d502b58f1905d6ec36c0ee065a2e00325954876a 100644
--- a/chrome/browser/infobars/infobar_service.h
+++ b/chrome/browser/infobars/infobar_service.h
@@ -37,11 +37,6 @@ class InfoBarService : public infobars::InfoBarManager,
static content::WebContents* WebContentsFromInfoBar(
infobars::InfoBar* infobar);
- // Retrieve the WebContents for the tab this service is associated with.
- content::WebContents* web_contents() {
- return content::WebContentsObserver::web_contents();
- }
-
private:
friend class content::WebContentsUserData<InfoBarService>;
« no previous file with comments | « chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h ('k') | chrome/browser/prerender/prerender_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698