OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_INIT_PROXY_RESOLVER_H_ | 5 #ifndef NET_PROXY_INIT_PROXY_RESOLVER_H_ |
6 #define NET_PROXY_INIT_PROXY_RESOLVER_H_ | 6 #define NET_PROXY_INIT_PROXY_RESOLVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 ProxyResolver* resolver_; | 91 ProxyResolver* resolver_; |
92 ProxyScriptFetcher* proxy_script_fetcher_; | 92 ProxyScriptFetcher* proxy_script_fetcher_; |
93 | 93 |
94 CompletionCallbackImpl<InitProxyResolver> io_callback_; | 94 CompletionCallbackImpl<InitProxyResolver> io_callback_; |
95 CompletionCallback* user_callback_; | 95 CompletionCallback* user_callback_; |
96 | 96 |
97 size_t current_pac_url_index_; | 97 size_t current_pac_url_index_; |
98 | 98 |
99 // Filled when the PAC script fetch completes. | 99 // Filled when the PAC script fetch completes. |
100 std::string pac_bytes_; | 100 string16 pac_script_; |
101 | 101 |
102 UrlList pac_urls_; | 102 UrlList pac_urls_; |
103 State next_state_; | 103 State next_state_; |
104 | 104 |
105 BoundNetLog net_log_; | 105 BoundNetLog net_log_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(InitProxyResolver); | 107 DISALLOW_COPY_AND_ASSIGN(InitProxyResolver); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace net | 110 } // namespace net |
111 | 111 |
112 #endif // NET_PROXY_INIT_PROXY_RESOLVER_H_ | 112 #endif // NET_PROXY_INIT_PROXY_RESOLVER_H_ |
OLD | NEW |