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

Unified Diff: components/browsing_data/core/counters/history_counter.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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: components/browsing_data/core/counters/history_counter.h
diff --git a/components/browsing_data/core/counters/history_counter.h b/components/browsing_data/core/counters/history_counter.h
index dd3db2f85e856b81893b9f5882f2a7651d0a0bd2..48b6fa0949cf9e5eeb064451d614e362c7019526 100644
--- a/components/browsing_data/core/counters/history_counter.h
+++ b/components/browsing_data/core/counters/history_counter.h
@@ -5,8 +5,6 @@
#ifndef COMPONENTS_BROWSING_DATA_CORE_COUNTERS_HISTORY_COUNTER_H_
#define COMPONENTS_BROWSING_DATA_CORE_COUNTERS_HISTORY_COUNTER_H_
-#include <memory>
-
#include "base/task/cancelable_task_tracker.h"
#include "base/timer/timer.h"
#include "components/browsing_data/core/counters/browsing_data_counter.h"
@@ -18,7 +16,7 @@
namespace browsing_data {
class HistoryCounter : public browsing_data::BrowsingDataCounter,
- public syncer::SyncServiceObserver {
+ public sync_driver::SyncServiceObserver {
public:
typedef base::Callback<history::WebHistoryService*()>
GetUpdatedWebHistoryServiceCallback;
@@ -38,7 +36,7 @@ class HistoryCounter : public browsing_data::BrowsingDataCounter,
explicit HistoryCounter(history::HistoryService* history_service,
const GetUpdatedWebHistoryServiceCallback& callback,
- syncer::SyncService* sync_service);
+ sync_driver::SyncService* sync_service);
~HistoryCounter() override;
void OnInitialized() override;
@@ -64,7 +62,7 @@ class HistoryCounter : public browsing_data::BrowsingDataCounter,
GetUpdatedWebHistoryServiceCallback web_history_service_callback_;
- syncer::SyncService* sync_service_;
+ sync_driver::SyncService* sync_service_;
bool has_synced_visits_;
« no previous file with comments | « components/browser_sync/test_profile_sync_service.cc ('k') | components/browsing_data/core/counters/history_counter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698