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

Unified Diff: chrome/browser/instant/instant_browsertest.cc

Issue 10353017: Unlaunch the HIDDEN mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed @sky's comment; fixed tests Created 8 years, 8 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
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_browsertest.cc
diff --git a/chrome/browser/instant/instant_browsertest.cc b/chrome/browser/instant/instant_browsertest.cc
index cd851c58e8da9b6826291a509b9f3f0968b530b4..9fde3b155bcba03d72efe9a0e219e7a82b6bf449 100644
--- a/chrome/browser/instant/instant_browsertest.cc
+++ b/chrome/browser/instant/instant_browsertest.cc
@@ -52,6 +52,8 @@ class InstantTest : public InProcessBrowserTest {
}
void EnableInstant() {
+ CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ switches::kInstantFieldTrial, switches::kInstantFieldTrialInstant);
InstantController::Enable(browser()->profile());
}
@@ -731,8 +733,6 @@ IN_PROC_BROWSER_TEST_F(InstantTest, DISABLED_PreloadsInstant) {
#else
IN_PROC_BROWSER_TEST_F(InstantTest, MAYBE(PreloadsInstant)) {
#endif
- CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kPreloadInstantSearch);
ASSERT_TRUE(test_server()->Start());
EnableInstant();
SetupInstantProvider("instant.html");
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698