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_FETCHER_IMPL_H_ | 5 #ifndef NET_PROXY_PROXY_SCRIPT_FETCHER_IMPL_H_ |
6 #define NET_PROXY_PROXY_SCRIPT_FETCHER_IMPL_H_ | 6 #define NET_PROXY_PROXY_SCRIPT_FETCHER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "base/time.h" | 16 #include "base/time/time.h" |
17 #include "net/proxy/proxy_script_fetcher.h" | 17 #include "net/proxy/proxy_script_fetcher.h" |
18 #include "net/url_request/url_request.h" | 18 #include "net/url_request/url_request.h" |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
24 class URLRequestContext; | 24 class URLRequestContext; |
25 | 25 |
26 // Implementation of ProxyScriptFetcher that downloads scripts using the | 26 // Implementation of ProxyScriptFetcher that downloads scripts using the |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 // The maximum amount of time to wait for download to complete. | 119 // The maximum amount of time to wait for download to complete. |
120 base::TimeDelta max_duration_; | 120 base::TimeDelta max_duration_; |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(ProxyScriptFetcherImpl); | 122 DISALLOW_COPY_AND_ASSIGN(ProxyScriptFetcherImpl); |
123 }; | 123 }; |
124 | 124 |
125 } // namespace net | 125 } // namespace net |
126 | 126 |
127 #endif // NET_PROXY_PROXY_SCRIPT_FETCHER_IMPL_H_ | 127 #endif // NET_PROXY_PROXY_SCRIPT_FETCHER_IMPL_H_ |
OLD | NEW |