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

Unified Diff: chrome/browser/ui/search/instant_test_utils.cc

Issue 23440010: Enable InstantExtendedPrefetchTests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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/ui/search/instant_extended_interactive_uitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_test_utils.cc
diff --git a/chrome/browser/ui/search/instant_test_utils.cc b/chrome/browser/ui/search/instant_test_utils.cc
index dfa50385b4956c35e48e4555a4fc26af2ae8276c..67d1d1960d9fae492e639aa7103e45f309c4eea0 100644
--- a/chrome/browser/ui/search/instant_test_utils.cc
+++ b/chrome/browser/ui/search/instant_test_utils.cc
@@ -45,6 +45,7 @@ void InstantTestBase::SetupInstant(Browser* browser) {
TemplateURLData data;
// Necessary to use exact URL for both the main URL and the alternate URL for
// search term extraction to work in InstantExtended.
+ data.short_name = ASCIIToUTF16("name");
data.SetURL(instant_url_.spec() +
"q={searchTerms}&is_search&{google:omniboxStartMarginParameter}");
data.instant_url = instant_url_.spec();
@@ -69,6 +70,7 @@ void InstantTestBase::SetInstantURL(const std::string& url) {
ui_test_utils::WaitForTemplateURLServiceToLoad(service);
TemplateURLData data;
+ data.short_name = ASCIIToUTF16("name");
data.SetURL(url);
data.instant_url = url;
« no previous file with comments | « chrome/browser/ui/search/instant_extended_interactive_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698