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

Unified Diff: chrome/browser/browsing_data/browsing_data_counter_factory.h

Issue 2153863002: Move counters for passwords, history and autofill to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@separate_build_targets_in_components_bd
Patch Set: Fixed dependencies 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/browsing_data_counter_factory.h
diff --git a/chrome/browser/browsing_data/browsing_data_counter_factory.h b/chrome/browser/browsing_data/browsing_data_counter_factory.h
index 96b236f2df933d3d14e55152748c88c8784746a6..7703a1a03fd02a10a3fc596b295c3eb6174cc3c8 100644
--- a/chrome/browser/browsing_data/browsing_data_counter_factory.h
+++ b/chrome/browser/browsing_data/browsing_data_counter_factory.h
@@ -16,6 +16,10 @@ namespace browsing_data {
class BrowsingDataCounter;
}
+namespace history {
+class WebHistoryService;
+}
+
class BrowsingDataCounterFactory {
public:
// Creates a new instance of BrowsingDataCounter that is counting the data
@@ -27,6 +31,8 @@ class BrowsingDataCounterFactory {
BrowsingDataCounterFactory();
~BrowsingDataCounterFactory();
+ static history::WebHistoryService* GetUpdatedWebHistoryService(
+ Profile* profile);
DISALLOW_COPY_AND_ASSIGN(BrowsingDataCounterFactory);
msramek 2016/07/20 13:41:16 nit: Empty line before the macro.
ioanap 2016/07/20 17:50:36 Done.
};

Powered by Google App Engine
This is Rietveld 408576698