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

Unified Diff: chrome/browser/extensions/extension_view_host_factory.cc

Issue 923463003: [Extensions] Remove the Infobar API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 10 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/extensions/extension_view_host_factory.cc
diff --git a/chrome/browser/extensions/extension_view_host_factory.cc b/chrome/browser/extensions/extension_view_host_factory.cc
index 6a14fdc264385c070ba1cbd9a5e8c5e88b3d31dd..956ceb5d26a158ea817945e4985e27c6bfbba257 100644
--- a/chrome/browser/extensions/extension_view_host_factory.cc
+++ b/chrome/browser/extensions/extension_view_host_factory.cc
@@ -114,15 +114,6 @@ ExtensionViewHost* ExtensionViewHostFactory::CreatePopupHost(const GURL& url,
}
// static
-ExtensionViewHost* ExtensionViewHostFactory::CreateInfobarHost(
- const GURL& url,
- Browser* browser) {
- DCHECK(browser);
- return CreateViewHost(
- url, browser->profile(), browser, VIEW_TYPE_EXTENSION_INFOBAR);
-}
-
-// static
ExtensionViewHost* ExtensionViewHostFactory::CreateDialogHost(
const GURL& url,
Profile* profile) {

Powered by Google App Engine
This is Rietveld 408576698