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

Side by Side Diff: components/data_reduction_proxy/core/browser/db_data_owner.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 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_DATA_REDUCTION_PROXY_CORE_BROWSER_DB_SERVICE_H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DB_SERVICE_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DB_SERVICE_H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DB_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/sequence_checker.h" 13 #include "base/sequence_checker.h"
14 14
15 namespace base {
16 class FilePath;
17 } // namespace base
18
19 namespace data_reduction_proxy { 15 namespace data_reduction_proxy {
20 class DataStore; 16 class DataStore;
21 class DataUsageBucket; 17 class DataUsageBucket;
22 class DataUsageStore; 18 class DataUsageStore;
23 19
24 // Callback for loading the historical data usage. 20 // Callback for loading the historical data usage.
25 typedef base::Callback<void(std::unique_ptr<std::vector<DataUsageBucket>>)> 21 typedef base::Callback<void(std::unique_ptr<std::vector<DataUsageBucket>>)>
26 HistoricalDataUsageCallback; 22 HistoricalDataUsageCallback;
27 23
28 // Callback for loading data usage for the current bucket. 24 // Callback for loading data usage for the current bucket.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 std::unique_ptr<DataStore> store_; 57 std::unique_ptr<DataStore> store_;
62 std::unique_ptr<DataUsageStore> data_usage_; 58 std::unique_ptr<DataUsageStore> data_usage_;
63 base::SequenceChecker sequence_checker_; 59 base::SequenceChecker sequence_checker_;
64 base::WeakPtrFactory<DBDataOwner> weak_factory_; 60 base::WeakPtrFactory<DBDataOwner> weak_factory_;
65 61
66 DISALLOW_COPY_AND_ASSIGN(DBDataOwner); 62 DISALLOW_COPY_AND_ASSIGN(DBDataOwner);
67 }; 63 };
68 64
69 } // namespace data_reduction_proxy 65 } // namespace data_reduction_proxy
70 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DB_SERVICE_H_ 66 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DB_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698