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 #ifndef NET_PROXY_PROXY_SCRIPT_DECIDER_H_ | 5 #ifndef NET_PROXY_PROXY_SCRIPT_DECIDER_H_ |
6 #define NET_PROXY_PROXY_SCRIPT_DECIDER_H_ | 6 #define NET_PROXY_PROXY_SCRIPT_DECIDER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
| 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
13 #include "base/time/time.h" | 16 #include "base/time/time.h" |
14 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
15 #include "net/base/address_list.h" | 18 #include "net/base/address_list.h" |
16 #include "net/base/completion_callback.h" | 19 #include "net/base/completion_callback.h" |
17 #include "net/base/net_export.h" | 20 #include "net/base/net_export.h" |
18 #include "net/dns/host_resolver.h" | 21 #include "net/dns/host_resolver.h" |
19 #include "net/dns/single_request_host_resolver.h" | 22 #include "net/dns/single_request_host_resolver.h" |
20 #include "net/log/net_log.h" | 23 #include "net/log/net_log.h" |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 base::OneShotTimer quick_check_timer_; | 201 base::OneShotTimer quick_check_timer_; |
199 scoped_ptr<SingleRequestHostResolver> host_resolver_; | 202 scoped_ptr<SingleRequestHostResolver> host_resolver_; |
200 base::Time quick_check_start_time_; | 203 base::Time quick_check_start_time_; |
201 | 204 |
202 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); | 205 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); |
203 }; | 206 }; |
204 | 207 |
205 } // namespace net | 208 } // namespace net |
206 | 209 |
207 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ | 210 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ |
OLD | NEW |