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

Side by Side Diff: components/cronet/android/cronet_url_request_context_adapter.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_CRONET_ANDROID_CRONET_URL_REQUEST_CONTEXT_ADAPTER_H_ 5 #ifndef COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_CONTEXT_ADAPTER_H_
6 #define COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_CONTEXT_ADAPTER_H_ 6 #define COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_CONTEXT_ADAPTER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <queue> 11 #include <queue>
12 #include <string> 12 #include <string>
13 13
14 #include "base/android/scoped_java_ref.h" 14 #include "base/android/scoped_java_ref.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/prefs/json_pref_store.h"
19 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
20 #include "components/prefs/json_pref_store.h"
21 #include "net/base/network_quality_estimator.h" 21 #include "net/base/network_quality_estimator.h"
22 22
23 class PrefService; 23 class PrefService;
24 24
25 namespace base { 25 namespace base {
26 class SingleThreadTaskRunner; 26 class SingleThreadTaskRunner;
27 class TimeTicks; 27 class TimeTicks;
28 } // namespace base 28 } // namespace base
29 29
30 namespace net { 30 namespace net {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 #if defined(DATA_REDUCTION_PROXY_SUPPORT) 194 #if defined(DATA_REDUCTION_PROXY_SUPPORT)
195 scoped_ptr<CronetDataReductionProxy> data_reduction_proxy_; 195 scoped_ptr<CronetDataReductionProxy> data_reduction_proxy_;
196 #endif 196 #endif
197 197
198 DISALLOW_COPY_AND_ASSIGN(CronetURLRequestContextAdapter); 198 DISALLOW_COPY_AND_ASSIGN(CronetURLRequestContextAdapter);
199 }; 199 };
200 200
201 } // namespace cronet 201 } // namespace cronet
202 202
203 #endif // COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_CONTEXT_ADAPTER_H_ 203 #endif // COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_CONTEXT_ADAPTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698