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

Unified Diff: chrome/browser/extensions/extension_view_host_factory_browsertest.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_browsertest.cc
diff --git a/chrome/browser/extensions/extension_view_host_factory_browsertest.cc b/chrome/browser/extensions/extension_view_host_factory_browsertest.cc
index 392471250733a109d5a05536f0d72e20cd5f242c..68d47b01d29164771c75f8865ee9cfe64d3675ed 100644
--- a/chrome/browser/extensions/extension_view_host_factory_browsertest.cc
+++ b/chrome/browser/extensions/extension_view_host_factory_browsertest.cc
@@ -36,17 +36,6 @@ IN_PROC_BROWSER_TEST_F(ExtensionViewHostFactoryTest, CreateExtensionHosts) {
}
{
- // Infobar hosts are created with the correct type and profile.
- scoped_ptr<ExtensionViewHost> host(
- ExtensionViewHostFactory::CreateInfobarHost(extension->url(),
- browser()));
- EXPECT_EQ(extension.get(), host->extension());
- EXPECT_EQ(browser_context, host->browser_context());
- EXPECT_EQ(VIEW_TYPE_EXTENSION_INFOBAR, host->extension_host_type());
- EXPECT_TRUE(host->view());
- }
-
- {
// Dialog hosts are created with the correct type and profile.
scoped_ptr<ExtensionViewHost> host(
ExtensionViewHostFactory::CreateDialogHost(extension->url(),
« no previous file with comments | « chrome/browser/extensions/extension_view_host_factory.cc ('k') | chrome/browser/infobars/infobar_extension_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698