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

Side by Side Diff: chrome/browser/browsing_data/history_counter.h

Issue 2127403002: Make browsing_data component a layered component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed output_name from components/browsing_data/content/BUILD.gn 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 unified diff | Download patch
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 CHROME_BROWSER_BROWSING_DATA_HISTORY_COUNTER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_HISTORY_COUNTER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_HISTORY_COUNTER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_HISTORY_COUNTER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/task/cancelable_task_tracker.h" 9 #include "base/task/cancelable_task_tracker.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
11 #include "components/browsing_data/counters/browsing_data_counter.h" 11 #include "components/browsing_data/core/counters/browsing_data_counter.h"
12 #include "components/history/core/browser/history_service.h" 12 #include "components/history/core/browser/history_service.h"
13 #include "components/history/core/browser/web_history_service.h" 13 #include "components/history/core/browser/web_history_service.h"
14 #include "components/sync_driver/sync_service_observer.h" 14 #include "components/sync_driver/sync_service_observer.h"
15 15
16 class Profile; 16 class Profile;
17 17
18 class ProfileSyncService; 18 class ProfileSyncService;
19 19
20 class HistoryCounter : public browsing_data::BrowsingDataCounter, 20 class HistoryCounter : public browsing_data::BrowsingDataCounter,
21 public sync_driver::SyncServiceObserver { 21 public sync_driver::SyncServiceObserver {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void OnGetWebHistoryCount(history::WebHistoryService::Request* request, 73 void OnGetWebHistoryCount(history::WebHistoryService::Request* request,
74 const base::DictionaryValue* result); 74 const base::DictionaryValue* result);
75 void OnWebHistoryTimeout(); 75 void OnWebHistoryTimeout();
76 void MergeResults(); 76 void MergeResults();
77 77
78 // SyncServiceObserver implementation. 78 // SyncServiceObserver implementation.
79 void OnStateChanged() override; 79 void OnStateChanged() override;
80 }; 80 };
81 81
82 #endif // CHROME_BROWSER_BROWSING_DATA_HISTORY_COUNTER_H_ 82 #endif // CHROME_BROWSER_BROWSING_DATA_HISTORY_COUNTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/downloads_counter_browsertest.cc ('k') | chrome/browser/browsing_data/history_counter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698