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

Side by Side Diff: chrome/browser/io_thread.cc

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 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 | Annotate | Revision Log
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 "chrome/browser/io_thread.h" 5 #include "chrome/browser/io_thread.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 23 matching lines...) Expand all
34 #include "chrome/browser/net/chrome_network_delegate.h" 34 #include "chrome/browser/net/chrome_network_delegate.h"
35 #include "chrome/browser/net/chrome_url_request_context.h" 35 #include "chrome/browser/net/chrome_url_request_context.h"
36 #include "chrome/browser/net/connect_interceptor.h" 36 #include "chrome/browser/net/connect_interceptor.h"
37 #include "chrome/browser/net/dns_probe_service.h" 37 #include "chrome/browser/net/dns_probe_service.h"
38 #include "chrome/browser/net/http_pipelining_compatibility_client.h" 38 #include "chrome/browser/net/http_pipelining_compatibility_client.h"
39 #include "chrome/browser/net/load_time_stats.h" 39 #include "chrome/browser/net/load_time_stats.h"
40 #include "chrome/browser/net/pref_proxy_config_tracker.h" 40 #include "chrome/browser/net/pref_proxy_config_tracker.h"
41 #include "chrome/browser/net/proxy_service_factory.h" 41 #include "chrome/browser/net/proxy_service_factory.h"
42 #include "chrome/browser/net/sdch_dictionary_fetcher.h" 42 #include "chrome/browser/net/sdch_dictionary_fetcher.h"
43 #include "chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h" 43 #include "chrome/browser/net/spdyproxy/http_auth_handler_spdyproxy.h"
44 #include "chrome/browser/policy/policy_service.h"
45 #include "chrome/common/chrome_switches.h" 44 #include "chrome/common/chrome_switches.h"
46 #include "chrome/common/pref_names.h" 45 #include "chrome/common/pref_names.h"
47 #include "chrome/common/url_constants.h" 46 #include "chrome/common/url_constants.h"
47 #include "components/policy/core/common/policy_service.h"
48 #include "content/public/browser/browser_thread.h" 48 #include "content/public/browser/browser_thread.h"
49 #include "net/base/host_mapping_rules.h" 49 #include "net/base/host_mapping_rules.h"
50 #include "net/base/net_util.h" 50 #include "net/base/net_util.h"
51 #include "net/base/network_time_notifier.h" 51 #include "net/base/network_time_notifier.h"
52 #include "net/base/sdch_manager.h" 52 #include "net/base/sdch_manager.h"
53 #include "net/cert/cert_verifier.h" 53 #include "net/cert/cert_verifier.h"
54 #include "net/cert/ct_known_logs.h" 54 #include "net/cert/ct_known_logs.h"
55 #include "net/cert/ct_verifier.h" 55 #include "net/cert/ct_verifier.h"
56 #include "net/cookies/cookie_monster.h" 56 #include "net/cookies/cookie_monster.h"
57 #include "net/dns/host_cache.h" 57 #include "net/dns/host_cache.h"
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 if (!length_str.ends_with(kQuicFieldTrialPacketLengthSuffix)) { 1116 if (!length_str.ends_with(kQuicFieldTrialPacketLengthSuffix)) {
1117 return 0; 1117 return 0;
1118 } 1118 }
1119 length_str.remove_suffix(strlen(kQuicFieldTrialPacketLengthSuffix)); 1119 length_str.remove_suffix(strlen(kQuicFieldTrialPacketLengthSuffix));
1120 unsigned value; 1120 unsigned value;
1121 if (!base::StringToUint(length_str, &value)) { 1121 if (!base::StringToUint(length_str, &value)) {
1122 return 0; 1122 return 0;
1123 } 1123 }
1124 return value; 1124 return value;
1125 } 1125 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/policy_handlers.h ('k') | chrome/browser/net/disk_cache_dir_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698