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

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

Issue 1662843002: Revert of Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DATA_REDUCTION_PROXY_COMPRE SSION_STATS_H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_COMPRE SSION_STATS_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_COMPRE SSION_STATS_H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_COMPRE SSION_STATS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <string> 12 #include <string>
13 13
14 #include "base/containers/scoped_ptr_hash_map.h" 14 #include "base/containers/scoped_ptr_hash_map.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/prefs/pref_change_registrar.h"
20 #include "base/prefs/pref_member.h"
19 #include "base/threading/thread_checker.h" 21 #include "base/threading/thread_checker.h"
20 #include "base/time/time.h" 22 #include "base/time/time.h"
21 #include "base/timer/timer.h" 23 #include "base/timer/timer.h"
22 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr ics.h" 24 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metr ics.h"
23 #include "components/data_reduction_proxy/core/browser/db_data_owner.h" 25 #include "components/data_reduction_proxy/core/browser/db_data_owner.h"
24 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_ names.h" 26 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_ names.h"
25 #include "components/data_reduction_proxy/proto/data_store.pb.h" 27 #include "components/data_reduction_proxy/proto/data_store.pb.h"
26 #include "components/prefs/pref_change_registrar.h"
27 #include "components/prefs/pref_member.h"
28 #include "net/base/network_change_notifier.h" 28 #include "net/base/network_change_notifier.h"
29 29
30 class PrefService; 30 class PrefService;
31 31
32 namespace base { 32 namespace base {
33 class ListValue; 33 class ListValue;
34 class Value; 34 class Value;
35 } 35 }
36 36
37 namespace data_reduction_proxy { 37 namespace data_reduction_proxy {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 base::ThreadChecker thread_checker_; 261 base::ThreadChecker thread_checker_;
262 262
263 base::WeakPtrFactory<DataReductionProxyCompressionStats> weak_factory_; 263 base::WeakPtrFactory<DataReductionProxyCompressionStats> weak_factory_;
264 264
265 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyCompressionStats); 265 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyCompressionStats);
266 }; 266 };
267 267
268 } // namespace data_reduction_proxy 268 } // namespace data_reduction_proxy
269 269
270 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_COM PRESSION_STATS_H_ 270 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_COM PRESSION_STATS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698