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

Unified Diff: chrome/browser/browsing_data/history_counter.cc

Issue 2136373003: Move browsing data deletion prefs to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comment Created 4 years, 5 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
Index: chrome/browser/browsing_data/history_counter.cc
diff --git a/chrome/browser/browsing_data/history_counter.cc b/chrome/browser/browsing_data/history_counter.cc
index cbe9021f0497a3a603ba061563731e2c291440e3..1980fedaa04940c7fd8e60c15f7a13ce90fad777 100644
--- a/chrome/browser/browsing_data/history_counter.cc
+++ b/chrome/browser/browsing_data/history_counter.cc
@@ -13,8 +13,8 @@
#include "chrome/browser/history/web_history_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/profile_sync_service_factory.h"
-#include "chrome/common/pref_names.h"
#include "components/browser_sync/browser/profile_sync_service.h"
+#include "components/browsing_data/pref_names.h"
#include "components/history/core/browser/history_service.h"
#include "components/history/core/browser/web_history_service.h"
#include "content/public/browser/browser_thread.h"
@@ -24,7 +24,7 @@ static const int64_t kWebHistoryTimeoutSeconds = 10;
}
HistoryCounter::HistoryCounter(Profile* profile)
- : BrowsingDataCounter(prefs::kDeleteBrowsingHistory),
+ : BrowsingDataCounter(browsing_data::prefs::kDeleteBrowsingHistory),
profile_(profile),
has_synced_visits_(false),
local_counting_finished_(false),

Powered by Google App Engine
This is Rietveld 408576698