OLD | NEW |
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/net/predictor.h" | 5 #include "chrome/browser/net/predictor.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <set> | 9 #include <set> |
10 #include <sstream> | 10 #include <sstream> |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "base/threading/thread_restrictions.h" | 24 #include "base/threading/thread_restrictions.h" |
25 #include "base/time/time.h" | 25 #include "base/time/time.h" |
26 #include "base/values.h" | 26 #include "base/values.h" |
27 #include "chrome/browser/io_thread.h" | 27 #include "chrome/browser/io_thread.h" |
28 #include "chrome/browser/net/preconnect.h" | 28 #include "chrome/browser/net/preconnect.h" |
29 #include "chrome/browser/net/spdyproxy/proxy_advisor.h" | 29 #include "chrome/browser/net/spdyproxy/proxy_advisor.h" |
30 #include "chrome/browser/prefs/session_startup_pref.h" | 30 #include "chrome/browser/prefs/session_startup_pref.h" |
31 #include "chrome/common/chrome_switches.h" | 31 #include "chrome/common/chrome_switches.h" |
32 #include "chrome/common/pref_names.h" | 32 #include "chrome/common/pref_names.h" |
33 #include "components/data_reduction_proxy/browser/data_reduction_proxy_settings.
h" | 33 #include "components/data_reduction_proxy/browser/data_reduction_proxy_settings.
h" |
34 #include "components/user_prefs/pref_registry_syncable.h" | 34 #include "components/pref_registry/pref_registry_syncable.h" |
35 #include "content/public/browser/browser_thread.h" | 35 #include "content/public/browser/browser_thread.h" |
36 #include "net/base/address_list.h" | 36 #include "net/base/address_list.h" |
37 #include "net/base/completion_callback.h" | 37 #include "net/base/completion_callback.h" |
38 #include "net/base/host_port_pair.h" | 38 #include "net/base/host_port_pair.h" |
39 #include "net/base/net_errors.h" | 39 #include "net/base/net_errors.h" |
40 #include "net/base/net_log.h" | 40 #include "net/base/net_log.h" |
41 #include "net/dns/host_resolver.h" | 41 #include "net/dns/host_resolver.h" |
42 #include "net/dns/single_request_host_resolver.h" | 42 #include "net/dns/single_request_host_resolver.h" |
43 #include "net/http/transport_security_state.h" | 43 #include "net/http/transport_security_state.h" |
44 #include "net/ssl/ssl_config_service.h" | 44 #include "net/ssl/ssl_config_service.h" |
(...skipping 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 IOThread* io_thread, | 1463 IOThread* io_thread, |
1464 net::URLRequestContextGetter* getter) { | 1464 net::URLRequestContextGetter* getter) { |
1465 // Empty function for unittests. | 1465 // Empty function for unittests. |
1466 } | 1466 } |
1467 | 1467 |
1468 void SimplePredictor::ShutdownOnUIThread() { | 1468 void SimplePredictor::ShutdownOnUIThread() { |
1469 SetShutdown(true); | 1469 SetShutdown(true); |
1470 } | 1470 } |
1471 | 1471 |
1472 } // namespace chrome_browser_net | 1472 } // namespace chrome_browser_net |
OLD | NEW |