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

Side by Side Diff: components/browsing_data/core/counters/history_counter.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « components/browsing_data/core/DEPS ('k') | components/browsing_data_ui.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_BROWSING_DATA_CORE_COUNTERS_HISTORY_COUNTER_H_ 5 #ifndef COMPONENTS_BROWSING_DATA_CORE_COUNTERS_HISTORY_COUNTER_H_
6 #define COMPONENTS_BROWSING_DATA_CORE_COUNTERS_HISTORY_COUNTER_H_ 6 #define COMPONENTS_BROWSING_DATA_CORE_COUNTERS_HISTORY_COUNTER_H_
7 7
8 #include "base/task/cancelable_task_tracker.h" 8 #include "base/task/cancelable_task_tracker.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "components/browsing_data/core/counters/browsing_data_counter.h" 10 #include "components/browsing_data/core/counters/browsing_data_counter.h"
11 #include "components/history/core/browser/history_service.h" 11 #include "components/history/core/browser/history_service.h"
12 #include "components/history/core/browser/web_history_service.h" 12 #include "components/history/core/browser/web_history_service.h"
13 #include "components/sync_driver/sync_service.h" 13 #include "components/sync/driver/sync_service.h"
14 #include "components/sync_driver/sync_service_observer.h" 14 #include "components/sync/driver/sync_service_observer.h"
15 15
16 namespace browsing_data { 16 namespace browsing_data {
17 17
18 class HistoryCounter : public browsing_data::BrowsingDataCounter, 18 class HistoryCounter : public browsing_data::BrowsingDataCounter,
19 public sync_driver::SyncServiceObserver { 19 public sync_driver::SyncServiceObserver {
20 public: 20 public:
21 typedef base::Callback<history::WebHistoryService*()> 21 typedef base::Callback<history::WebHistoryService*()>
22 GetUpdatedWebHistoryServiceCallback; 22 GetUpdatedWebHistoryServiceCallback;
23 23
24 class HistoryResult : public FinishedResult { 24 class HistoryResult : public FinishedResult {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 BrowsingDataCounter::ResultInt local_result_; 78 BrowsingDataCounter::ResultInt local_result_;
79 79
80 bool history_sync_enabled_; 80 bool history_sync_enabled_;
81 81
82 base::WeakPtrFactory<HistoryCounter> weak_ptr_factory_; 82 base::WeakPtrFactory<HistoryCounter> weak_ptr_factory_;
83 }; 83 };
84 84
85 } // namespace browsing_data 85 } // namespace browsing_data
86 86
87 #endif // COMPONENTS_BROWSING_DATA_CORE_COUNTERS_HISTORY_COUNTER_H_ 87 #endif // COMPONENTS_BROWSING_DATA_CORE_COUNTERS_HISTORY_COUNTER_H_
OLDNEW
« no previous file with comments | « components/browsing_data/core/DEPS ('k') | components/browsing_data_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698