From 7dc52f27b89ea2ab8b82a127fc899efef70fc613 Mon Sep 17 00:00:00 2001 From: "ericroman@google.com" Date: Mon, 2 Mar 2009 22:37:18 +0000 Subject: split up proxy_service into several files (one per class). Review URL: http://codereview.chromium.org/28278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10739 0039d316-1c4b-4281-b951-d872f2087c98 --- net/proxy/proxy_config_service.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 net/proxy/proxy_config_service.h (limited to 'net/proxy/proxy_config_service.h') diff --git a/net/proxy/proxy_config_service.h b/net/proxy/proxy_config_service.h new file mode 100644 index 0000000..4a802c9 --- /dev/null +++ b/net/proxy/proxy_config_service.h @@ -0,0 +1,27 @@ +// 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_CONFIG_SERVICE_H_ +#define NET_PROXY_PROXY_CONFIG_SERVICE_H_ + +namespace net { + +class ProxyConfig; + +// Synchronously fetch the system's proxy configuration settings. Called on +// the IO Thread. +class ProxyConfigService { + public: + virtual ~ProxyConfigService() {} + + // Get the proxy configuration. Returns OK if successful or an error code if + // otherwise. |config| should be in its initial state when this method is + // called. + virtual int GetProxyConfig(ProxyConfig* config) = 0; +}; + +} // namespace net + +#endif // NET_PROXY_PROXY_CONFIG_SERVICE_H_ + -- cgit v1.1