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

Side by Side Diff: android_webview/browser/net/aw_url_request_context_getter.cc

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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "android_webview/browser/net/aw_url_request_context_getter.h" 5 #include "android_webview/browser/net/aw_url_request_context_getter.h"
6 6
7 #include <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "android_webview/browser/aw_browser_context.h" 10 #include "android_webview/browser/aw_browser_context.h"
11 #include "android_webview/browser/aw_content_browser_client.h" 11 #include "android_webview/browser/aw_content_browser_client.h"
12 #include "android_webview/browser/net/aw_http_user_agent_settings.h" 12 #include "android_webview/browser/net/aw_http_user_agent_settings.h"
13 #include "android_webview/browser/net/aw_network_delegate.h" 13 #include "android_webview/browser/net/aw_network_delegate.h"
14 #include "android_webview/browser/net/aw_request_interceptor.h" 14 #include "android_webview/browser/net/aw_request_interceptor.h"
15 #include "android_webview/browser/net/aw_url_request_job_factory.h" 15 #include "android_webview/browser/net/aw_url_request_job_factory.h"
16 #include "android_webview/browser/net/init_native_callback.h" 16 #include "android_webview/browser/net/init_native_callback.h"
17 #include "android_webview/browser/net/token_binding_manager.h" 17 #include "android_webview/browser/net/token_binding_manager.h"
18 #include "android_webview/common/aw_content_client.h" 18 #include "android_webview/common/aw_content_client.h"
19 #include "base/bind.h" 19 #include "base/bind.h"
20 #include "base/command_line.h" 20 #include "base/command_line.h"
21 #include "base/files/file_path.h" 21 #include "base/files/file_path.h"
22 #include "base/prefs/pref_service.h"
22 #include "base/strings/string_number_conversions.h" 23 #include "base/strings/string_number_conversions.h"
23 #include "base/threading/sequenced_worker_pool.h" 24 #include "base/threading/sequenced_worker_pool.h"
24 #include "base/threading/worker_pool.h" 25 #include "base/threading/worker_pool.h"
25 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.h" 26 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.h"
26 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h" 27 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h"
27 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ est_options.h" 28 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ est_options.h"
28 #include "components/prefs/pref_service.h"
29 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
30 #include "content/public/browser/content_browser_client.h" 30 #include "content/public/browser/content_browser_client.h"
31 #include "content/public/browser/cookie_store_factory.h" 31 #include "content/public/browser/cookie_store_factory.h"
32 #include "content/public/common/content_client.h" 32 #include "content/public/common/content_client.h"
33 #include "content/public/common/content_switches.h" 33 #include "content/public/common/content_switches.h"
34 #include "content/public/common/url_constants.h" 34 #include "content/public/common/url_constants.h"
35 #include "net/base/cache_type.h" 35 #include "net/base/cache_type.h"
36 #include "net/cookies/cookie_store.h" 36 #include "net/cookies/cookie_store.h"
37 #include "net/dns/mapped_host_resolver.h" 37 #include "net/dns/mapped_host_resolver.h"
38 #include "net/extras/sqlite/sqlite_channel_id_store.h" 38 #include "net/extras/sqlite/sqlite_channel_id_store.h"
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 http_auth_preferences_->set_server_whitelist( 324 http_auth_preferences_->set_server_whitelist(
325 auth_server_whitelist_.GetValue()); 325 auth_server_whitelist_.GetValue());
326 } 326 }
327 327
328 void AwURLRequestContextGetter::UpdateAndroidAuthNegotiateAccountType() { 328 void AwURLRequestContextGetter::UpdateAndroidAuthNegotiateAccountType() {
329 http_auth_preferences_->set_auth_android_negotiate_account_type( 329 http_auth_preferences_->set_auth_android_negotiate_account_type(
330 auth_android_negotiate_account_type_.GetValue()); 330 auth_android_negotiate_account_type_.GetValue());
331 } 331 }
332 332
333 } // namespace android_webview 333 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/net/aw_url_request_context_getter.h ('k') | android_webview/native/aw_autofill_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698