Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: net/proxy/dhcp_proxy_script_fetcher.h

Issue 2929153002: Use URLRequestContextBuilderMojo to create the SystemURLRequestContext. (Closed)
Patch Set: Merge Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_PROXY_SCRIPT_FETCHER_H_ 5 #ifndef NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_H_
6 #define NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_H_ 6 #define NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 : public DhcpProxyScriptFetcher { 88 : public DhcpProxyScriptFetcher {
89 public: 89 public:
90 DoNothingDhcpProxyScriptFetcher(); 90 DoNothingDhcpProxyScriptFetcher();
91 ~DoNothingDhcpProxyScriptFetcher() override; 91 ~DoNothingDhcpProxyScriptFetcher() override;
92 92
93 int Fetch(base::string16* utf16_text, 93 int Fetch(base::string16* utf16_text,
94 const CompletionCallback& callback) override; 94 const CompletionCallback& callback) override;
95 void Cancel() override; 95 void Cancel() override;
96 void OnShutdown() override; 96 void OnShutdown() override;
97 const GURL& GetPacURL() const override; 97 const GURL& GetPacURL() const override;
98 std::string GetFetcherName() const override;
98 99
99 private: 100 private:
100 GURL gurl_; 101 GURL gurl_;
101 DISALLOW_COPY_AND_ASSIGN(DoNothingDhcpProxyScriptFetcher); 102 DISALLOW_COPY_AND_ASSIGN(DoNothingDhcpProxyScriptFetcher);
102 }; 103 };
103 104
104 } // namespace net 105 } // namespace net
105 106
106 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_H_ 107 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698