OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_RESOLVER_JS_BINDINGS_H_ | 5 #ifndef NET_PROXY_PROXY_RESOLVER_JS_BINDINGS_H_ |
6 #define NET_PROXY_PROXY_RESOLVER_JS_BINDINGS_H_ | 6 #define NET_PROXY_PROXY_RESOLVER_JS_BINDINGS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 | 12 |
13 class MessageLoop; | |
14 | |
15 namespace net { | 13 namespace net { |
16 | 14 |
17 class HostResolver; | 15 class HostResolver; |
18 class NetLog; | 16 class NetLog; |
19 struct ProxyResolverRequestContext; | 17 struct ProxyResolverRequestContext; |
20 | 18 |
21 // Interface for the javascript bindings. | 19 // Interface for the javascript bindings. |
22 class ProxyResolverJSBindings { | 20 class ProxyResolverJSBindings { |
23 public: | 21 public: |
24 ProxyResolverJSBindings() : current_request_context_(NULL) {} | 22 ProxyResolverJSBindings() : current_request_context_(NULL) {} |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 return current_request_context_; | 77 return current_request_context_; |
80 } | 78 } |
81 | 79 |
82 private: | 80 private: |
83 ProxyResolverRequestContext* current_request_context_; | 81 ProxyResolverRequestContext* current_request_context_; |
84 }; | 82 }; |
85 | 83 |
86 } // namespace net | 84 } // namespace net |
87 | 85 |
88 #endif // NET_PROXY_PROXY_RESOLVER_JS_BINDINGS_H_ | 86 #endif // NET_PROXY_PROXY_RESOLVER_JS_BINDINGS_H_ |
OLD | NEW |