| 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 <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 15 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
| 16 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 17 #include "net/proxy/proxy_script_fetcher.h" | 19 #include "net/proxy/proxy_script_fetcher.h" |
| 18 #include "net/url_request/url_request.h" | 20 #include "net/url_request/url_request.h" |
| 19 | 21 |
| 20 class GURL; | 22 class GURL; |
| 21 | 23 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 // Factory for creating the time-out task. This takes care of revoking | 127 // Factory for creating the time-out task. This takes care of revoking |
| 126 // outstanding tasks when |this| is deleted. | 128 // outstanding tasks when |this| is deleted. |
| 127 base::WeakPtrFactory<ProxyScriptFetcherImpl> weak_factory_; | 129 base::WeakPtrFactory<ProxyScriptFetcherImpl> weak_factory_; |
| 128 | 130 |
| 129 DISALLOW_COPY_AND_ASSIGN(ProxyScriptFetcherImpl); | 131 DISALLOW_COPY_AND_ASSIGN(ProxyScriptFetcherImpl); |
| 130 }; | 132 }; |
| 131 | 133 |
| 132 } // namespace net | 134 } // namespace net |
| 133 | 135 |
| 134 #endif // NET_PROXY_PROXY_SCRIPT_FETCHER_IMPL_H_ | 136 #endif // NET_PROXY_PROXY_SCRIPT_FETCHER_IMPL_H_ |
| OLD | NEW |