diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 21:44:05 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 21:44:05 +0000 |
commit | a21ef670c31d17b52b662c2f81c2c92b7457aee7 (patch) | |
tree | 9bb2d8945ed3c65c7b36227d6d4dbe11c67d0de0 /chrome/browser/importer/firefox_importer_utils.h | |
parent | b1eb17e9535bf2025d8ae6045a88ea21f1eeb4ba (diff) | |
download | chromium_src-a21ef670c31d17b52b662c2f81c2c92b7457aee7.zip chromium_src-a21ef670c31d17b52b662c2f81c2c92b7457aee7.tar.gz chromium_src-a21ef670c31d17b52b662c2f81c2c92b7457aee7.tar.bz2 |
Do not override the default search engine during import.
IE/FF import was previously setting the default search engine.
This is not the intended behavior of the import process.
Remove unused GetFirefoxDefaultSearchEngineIndex(), etc.
BUG=113130
TEST=Chrome first run doesn't use the previously default browser's default search engine.
Review URL: http://codereview.chromium.org/9363011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121045 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/firefox_importer_utils.h')
-rw-r--r-- | chrome/browser/importer/firefox_importer_utils.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/importer/firefox_importer_utils.h b/chrome/browser/importer/firefox_importer_utils.h index da756220..5bed044 100644 --- a/chrome/browser/importer/firefox_importer_utils.h +++ b/chrome/browser/importer/firefox_importer_utils.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -76,12 +76,6 @@ bool CanImportURL(const GURL& url); void ParseSearchEnginesFromXMLFiles(const std::vector<FilePath>& xml_files, std::vector<TemplateURL*>* search_engines); -// Returns the index of the default search engine in the |search_engines| list. -// If none is found, -1 is returned. -int GetFirefoxDefaultSearchEngineIndex( - const std::vector<TemplateURL*>& search_engines, - const FilePath& profile_path); - // Returns the home page set in Firefox in a particular profile. GURL GetHomepage(const FilePath& profile_path); |