| 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_DHCP_SCRIPT_FETCHER_H_ | 5 #ifndef NET_PROXY_DHCP_SCRIPT_FETCHER_H_ |
| 6 #define NET_PROXY_DHCP_SCRIPT_FETCHER_H_ | 6 #define NET_PROXY_DHCP_SCRIPT_FETCHER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 class NET_EXPORT_PRIVATE DoNothingDhcpProxyScriptFetcher | 82 class NET_EXPORT_PRIVATE DoNothingDhcpProxyScriptFetcher |
| 83 : public DhcpProxyScriptFetcher { | 83 : public DhcpProxyScriptFetcher { |
| 84 public: | 84 public: |
| 85 DoNothingDhcpProxyScriptFetcher(); | 85 DoNothingDhcpProxyScriptFetcher(); |
| 86 virtual ~DoNothingDhcpProxyScriptFetcher(); | 86 virtual ~DoNothingDhcpProxyScriptFetcher(); |
| 87 | 87 |
| 88 virtual int Fetch(base::string16* utf16_text, | 88 virtual int Fetch(base::string16* utf16_text, |
| 89 const CompletionCallback& callback) OVERRIDE; | 89 const CompletionCallback& callback) OVERRIDE; |
| 90 virtual void Cancel() OVERRIDE; | 90 virtual void Cancel() OVERRIDE; |
| 91 virtual const GURL& GetPacURL() const OVERRIDE; | 91 virtual const GURL& GetPacURL() const OVERRIDE; |
| 92 |
| 92 private: | 93 private: |
| 93 GURL gurl_; | 94 GURL gurl_; |
| 94 DISALLOW_COPY_AND_ASSIGN(DoNothingDhcpProxyScriptFetcher); | 95 DISALLOW_COPY_AND_ASSIGN(DoNothingDhcpProxyScriptFetcher); |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace net | 98 } // namespace net |
| 98 | 99 |
| 99 #endif // NET_PROXY_DHCP_SCRIPT_FETCHER_H_ | 100 #endif // NET_PROXY_DHCP_SCRIPT_FETCHER_H_ |
| OLD | NEW |