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

Unified Diff: chrome/browser/search_engines/search_terms_data.cc

Issue 18111003: Eliminate --google-base-suggest-url. Its use cases will be addressed with the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/search_terms_data.cc
===================================================================
--- chrome/browser/search_engines/search_terms_data.cc (revision 208834)
+++ chrome/browser/search_engines/search_terms_data.cc (working copy)
@@ -4,7 +4,6 @@
#include "chrome/browser/search_engines/search_terms_data.h"
-#include "base/command_line.h"
#include "base/logging.h"
#include "base/metrics/field_trial.h"
#include "base/prefs/pref_service.h"
@@ -16,7 +15,6 @@
#include "chrome/browser/search/search.h"
#include "chrome/browser/themes/theme_service.h"
#include "chrome/browser/themes/theme_service_factory.h"
-#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "content/public/browser/browser_thread.h"
#include "googleurl/src/gurl.h"
@@ -38,11 +36,6 @@
}
std::string SearchTermsData::GoogleBaseSuggestURLValue() const {
- std::string base_suggest_url = CommandLine::ForCurrentProcess()->
- GetSwitchValueASCII(switches::kGoogleBaseSuggestURL);
- if (!base_suggest_url.empty())
- return base_suggest_url;
-
// Start with the Google base URL.
const GURL base_url(GoogleBaseURLValue());
DCHECK(base_url.is_valid());
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698