summaryrefslogtreecommitdiffstats
path: root/chrome/browser/search_engines/template_url_service.h
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 04:05:29 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 04:05:29 +0000
commit2381ed2ed0e7560a29fe484d6c79103ca8eafa12 (patch)
tree59870ca2e3de1b1bece166dae2981a983ae65b54 /chrome/browser/search_engines/template_url_service.h
parent31d71b0e8b1b04c12e6ec654d9deca49f6303a6e (diff)
downloadchromium_src-2381ed2ed0e7560a29fe484d6c79103ca8eafa12.zip
chromium_src-2381ed2ed0e7560a29fe484d6c79103ca8eafa12.tar.gz
chromium_src-2381ed2ed0e7560a29fe484d6c79103ca8eafa12.tar.bz2
Remove the first-run search engine dialog/ballot.
No changes to the Gtk and Mac first-run (reporting & default browser) dialog. Tested optionally with GYP_DEFINES="branding=Chrome" and "--first-run --organic". Chromium (all platforms): Shows the browser window directly (no dialog). Chrome (Windows): Shows the browser window directly (no dialog). Chrome (Linux and Mac): Shows the first-run (reporting & default browser) dialog before the browser window. TODO(msw): Close crbug.com/111062 for removed test. TODO(msw): Remove search engine icon/image resources (TemplateURL::logo_id_). BUG=107005 TEST=No more standalone search engine selection dialog/ballot, Gtk and Mac first-run dialog works as before. Review URL: http://codereview.chromium.org/9285002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines/template_url_service.h')
-rw-r--r--chrome/browser/search_engines/template_url_service.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/search_engines/template_url_service.h b/chrome/browser/search_engines/template_url_service.h
index 68c280b..fd33966 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -279,14 +279,6 @@ class TemplateURLService : public WebDataServiceConsumer,
Profile* profile() const { return profile_; }
- void SetSearchEngineDialogSlot(int slot) {
- search_engine_dialog_chosen_slot_ = slot;
- }
-
- int GetSearchEngineDialogSlot() const {
- return search_engine_dialog_chosen_slot_;
- }
-
// Returns a SyncData with a sync representation of the search engine data
// from |turl|.
static SyncData CreateSyncDataFromTemplateURL(const TemplateURL& turl);
@@ -552,10 +544,6 @@ class TemplateURLService : public WebDataServiceConsumer,
// TemplateURL owned by template_urls_.
const TemplateURL* default_search_provider_;
- // Used for UX testing. Gives the slot in the search engine dialog that was
- // chosen as the default search engine.
- int search_engine_dialog_chosen_slot_;
-
// The initial search provider extracted from preferences. This is only valid
// if we haven't been loaded or loading failed.
scoped_ptr<TemplateURL> initial_default_search_provider_;