| OLD | NEW | 
|   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/callback_forward.h" |  | 
|  12 #include "base/macros.h" |  11 #include "base/macros.h" | 
|  13 #include "base/memory/weak_ptr.h" |  12 #include "base/memory/weak_ptr.h" | 
|  14 #include "base/sequence_checker.h" |  13 #include "base/sequence_checker.h" | 
|  15  |  14  | 
|  16 namespace data_reduction_proxy { |  15 namespace data_reduction_proxy { | 
|  17 class DataStore; |  16 class DataStore; | 
|  18 class DataUsageBucket; |  17 class DataUsageBucket; | 
|  19 class DataUsageStore; |  18 class DataUsageStore; | 
|  20  |  19  | 
|  21 // Callback for loading the historical data usage. |  20 // Callback for loading the historical data usage. | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  58   std::unique_ptr<DataStore> store_; |  57   std::unique_ptr<DataStore> store_; | 
|  59   std::unique_ptr<DataUsageStore> data_usage_; |  58   std::unique_ptr<DataUsageStore> data_usage_; | 
|  60   base::SequenceChecker sequence_checker_; |  59   base::SequenceChecker sequence_checker_; | 
|  61   base::WeakPtrFactory<DBDataOwner> weak_factory_; |  60   base::WeakPtrFactory<DBDataOwner> weak_factory_; | 
|  62  |  61  | 
|  63   DISALLOW_COPY_AND_ASSIGN(DBDataOwner); |  62   DISALLOW_COPY_AND_ASSIGN(DBDataOwner); | 
|  64 }; |  63 }; | 
|  65  |  64  | 
|  66 }  // namespace data_reduction_proxy |  65 }  // namespace data_reduction_proxy | 
|  67 #endif  // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DB_SERVICE_H_ |  66 #endif  // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DB_SERVICE_H_ | 
| OLD | NEW |