| 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_RESOLVER_SCRIPT_DATA_H_ | 5 #ifndef NET_PROXY_PROXY_RESOLVER_SCRIPT_DATA_H_ |
| 6 #define NET_PROXY_PROXY_RESOLVER_SCRIPT_DATA_H_ | 6 #define NET_PROXY_PROXY_RESOLVER_SCRIPT_DATA_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "googleurl/src/gurl.h" | |
| 11 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
| 11 #include "url/gurl.h" |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 | 14 |
| 15 // Reference-counted wrapper for passing around a PAC script specification. | 15 // Reference-counted wrapper for passing around a PAC script specification. |
| 16 // The PAC script can be either specified via a URL, a deferred URL for | 16 // The PAC script can be either specified via a URL, a deferred URL for |
| 17 // auto-detect, or the actual javascript program text. | 17 // auto-detect, or the actual javascript program text. |
| 18 // | 18 // |
| 19 // This is thread-safe so it can be used by multi-threaded implementations of | 19 // This is thread-safe so it can be used by multi-threaded implementations of |
| 20 // ProxyResolver to share the data between threads. | 20 // ProxyResolver to share the data between threads. |
| 21 class NET_EXPORT_PRIVATE ProxyResolverScriptData | 21 class NET_EXPORT_PRIVATE ProxyResolverScriptData |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 | 66 |
| 67 const Type type_; | 67 const Type type_; |
| 68 const GURL url_; | 68 const GURL url_; |
| 69 const base::string16 utf16_; | 69 const base::string16 utf16_; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace net | 72 } // namespace net |
| 73 | 73 |
| 74 #endif // NET_PROXY_PROXY_RESOLVER_SCRIPT_DATA_H_ | 74 #endif // NET_PROXY_PROXY_RESOLVER_SCRIPT_DATA_H_ |
| OLD | NEW |