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

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: Dont include cc file 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..0bf14a57a399483ed6bb0d27dd5eae37fcb0a39f 100644
--- a/chrome/browser/extensions/webstore_installer_test.h
+++ b/chrome/browser/extensions/webstore_installer_test.h
@@ -15,6 +15,10 @@ namespace base {
class CommandLine;
} // namespace base
+namespace contents {
+class WebContents;
+} // namespace contents
Devlin 2015/02/12 17:18:21 nit: We usually don't have the "// namespace foo"
meacer 2015/02/12 21:12:05 Yeah, this looked odd to me too. Done.
+
class WebstoreInstallerTest : public ExtensionBrowserTest {
public:
WebstoreInstallerTest(const std::string& webstore_domain,
@@ -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