summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_backend.cc
diff options
context:
space:
mode:
authornshkrob@chromium.org <nshkrob@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 17:20:34 +0000
committernshkrob@chromium.org <nshkrob@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 17:20:34 +0000
commita8ab8866ba372136850107c08afabb8079945afc (patch)
treede2942a813d6efea5f7c494f0752c0b6a622e12b /chrome/browser/history/history_backend.cc
parent6a3ca9862ab2959c6a51595323aee4fc3fae4f2a (diff)
downloadchromium_src-a8ab8866ba372136850107c08afabb8079945afc.zip
chromium_src-a8ab8866ba372136850107c08afabb8079945afc.tar.gz
chromium_src-a8ab8866ba372136850107c08afabb8079945afc.tar.bz2
Replace --top-sites flag with --no-top-sites flag. TopSites becomes the default.
BUG=none TEST=manual Review URL: http://codereview.chromium.org/3054028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_backend.cc')
-rw-r--r--chrome/browser/history/history_backend.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 8e1c5fb..1c58f74 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -581,7 +581,7 @@ void HistoryBackend::InitImpl() {
// Thumbnail database.
thumbnail_db_.reset(new ThumbnailDatabase());
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kTopSites)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoTopSites)) {
if (!db_->needs_version_18_migration()) {
// No convertion needed - use new filename right away.
thumbnail_name = GetFaviconsFileName();
@@ -598,7 +598,7 @@ void HistoryBackend::InitImpl() {
thumbnail_db_.reset();
}
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kTopSites)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoTopSites)) {
if (db_->needs_version_18_migration()) {
LOG(INFO) << "Starting TopSites migration";
delegate_->StartTopSitesMigration();