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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator.cc

Issue 10537154: A working implementation of AQS (Assisted Query Stats). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressed comments and added more docs. Created 8 years, 6 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/ui/startup/startup_browser_creator.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
index d25fc1a952ed4effc1855c2678ee8b2f623726d9..ab208793bd205d9b710d2c854893dcf56965b861 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc
@@ -276,8 +276,8 @@ std::vector<GURL> StartupBrowserCreator::GetURLsFromCommandLine(
const TemplateURLRef& search_url = default_provider->url_ref();
DCHECK(search_url.SupportsReplacement());
string16 search_term = param.LossyDisplayName().substr(2);
- urls.push_back(GURL(search_url.ReplaceSearchTerms(search_term,
- TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())));
+ urls.push_back(GURL(search_url.ReplaceSearchTerms(
+ TemplateURLRef::SearchTermsArgs(search_term))));
continue;
}
}
@@ -562,4 +562,3 @@ bool HasPendingUncleanExit(Profile* profile) {
return !profile->DidLastSessionExitCleanly() &&
!profile_launch_observer.Get().HasBeenLaunched(profile);
}
-

Powered by Google App Engine
This is Rietveld 408576698