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

Unified Diff: chrome/browser/extensions/webstore_installer_test.h

Issue 908063002: Prevent inline CRX installs in popup windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Open the popup from the test file rather than using browser navigation 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/webstore_installer_test.h
diff --git a/chrome/browser/extensions/webstore_installer_test.h b/chrome/browser/extensions/webstore_installer_test.h
index 9dff96423cdccc9e00917e4fb6df2af7f0614e19..a70e35afd097d7feb9f71b0e3651dbc04f711513 100644
--- a/chrome/browser/extensions/webstore_installer_test.h
+++ b/chrome/browser/extensions/webstore_installer_test.h
@@ -13,7 +13,11 @@
namespace base {
class CommandLine;
-} // namespace base
+}
+
+namespace contents {
+class WebContents;
+}
class WebstoreInstallerTest : public ExtensionBrowserTest {
public:
@@ -34,6 +38,9 @@ class WebstoreInstallerTest : public ExtensionBrowserTest {
void RunTest(const std::string& test_function_name);
+ void RunTest(content::WebContents* web_contents,
+ const std::string& test_function_name);
+
// Passes |i| to |test_function_name|, and expects that function to
// return one of "FAILED", "KEEPGOING" or "DONE". KEEPGOING should be
// returned if more tests remain to be run and the current test succeeded,

Powered by Google App Engine
This is Rietveld 408576698