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

Unified Diff: net/proxy/proxy_resolver_fixed.h

Issue 15070: Split ProxyResolver into two interfaces:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/proxy_config_service_win.cc ('k') | net/proxy/proxy_resolver_fixed.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_resolver_fixed.h
===================================================================
--- net/proxy/proxy_resolver_fixed.h (revision 7227)
+++ net/proxy/proxy_resolver_fixed.h (working copy)
@@ -1,30 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_PROXY_PROXY_RESOLVER_FIXED_H_
-#define NET_PROXY_PROXY_RESOLVER_FIXED_H_
-
-#include "net/proxy/proxy_service.h"
-
-namespace net {
-
-// Implementation of ProxyResolver that returns a fixed result.
-class ProxyResolverFixed : public ProxyResolver {
- public:
- ProxyResolverFixed(const ProxyInfo& pi) { pi_.Use(pi); }
-
- // ProxyResolver methods:
- virtual int GetProxyConfig(ProxyConfig* config);
- virtual int GetProxyForURL(const GURL& query_url,
- const GURL& pac_url,
- ProxyInfo* results);
-
- private:
- ProxyInfo pi_;
-};
-
-} // namespace net
-
-#endif // NET_PROXY_PROXY_RESOLVER_FIXED_H_
-
« no previous file with comments | « net/proxy/proxy_config_service_win.cc ('k') | net/proxy/proxy_resolver_fixed.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698