summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/profile_writer.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 23:09:32 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 23:09:32 +0000
commit5ed6961afa5307f1c81b87f04cb3f5d45853db90 (patch)
treea450c6af3cdee324e62a6150b4e6b720566a04ad /chrome/browser/importer/profile_writer.h
parenta5aae12d00dd5efc48921d180e94208841a49f35 (diff)
downloadchromium_src-5ed6961afa5307f1c81b87f04cb3f5d45853db90.zip
chromium_src-5ed6961afa5307f1c81b87f04cb3f5d45853db90.tar.gz
chromium_src-5ed6961afa5307f1c81b87f04cb3f5d45853db90.tar.bz2
Misc. cleanup for chrome/browser/importer/:
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9692073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/profile_writer.h')
-rw-r--r--chrome/browser/importer/profile_writer.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/chrome/browser/importer/profile_writer.h b/chrome/browser/importer/profile_writer.h
index 69c58e6..ac315f3 100644
--- a/chrome/browser/importer/profile_writer.h
+++ b/chrome/browser/importer/profile_writer.h
@@ -90,18 +90,15 @@ class ProfileWriter : public base::RefCountedThreadSafe<ProfileWriter> {
virtual void AddFavicons(
const std::vector<history::ImportedFaviconUsage>& favicons);
- // Add the TemplateURLs in |template_urls| to the local store and make the
- // TemplateURL at |default_keyword_index| the default keyword (does not set
- // a default keyword if it is -1). The local store becomes the owner of the
- // TemplateURLs. Some TemplateURLs in |template_urls| may conflict (same
- // keyword or same host name in the URL) with existing TemplateURLs in the
- // local store, in which case the existing ones takes precedence and the
- // duplicate in |template_urls| are deleted.
- // If unique_on_host_and_path a TemplateURL is only added if there is not an
- // existing TemplateURL that has a replaceable search url with the same
- // host+path combination.
+ // Adds the TemplateURLs in |template_urls| to the local store. The local
+ // store becomes the owner of the TemplateURLs. Some TemplateURLs in
+ // |template_urls| may conflict (same keyword or same host name in the URL)
+ // with existing TemplateURLs in the local store, in which case the existing
+ // ones take precedence and the duplicates in |template_urls| are deleted.
+ // If |unique_on_host_and_path| is true, a TemplateURL is only added if there
+ // is not an existing TemplateURL that has a replaceable search url with the
+ // same host+path combination.
virtual void AddKeywords(const std::vector<TemplateURL*>& template_urls,
- int default_keyword_index,
bool unique_on_host_and_path);
protected: