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

Unified Diff: chrome/browser/chromeos/net/proxy_config_handler.h

Issue 16398005: Extract common per-network proxy configuration functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/net/proxy_config_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/net/proxy_config_handler.h
diff --git a/chrome/browser/chromeos/net/proxy_config_handler.h b/chrome/browser/chromeos/net/proxy_config_handler.h
new file mode 100644
index 0000000000000000000000000000000000000000..5162c5c6df46e01351985b8053c2d520a78b7a14
--- /dev/null
+++ b/chrome/browser/chromeos/net/proxy_config_handler.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2013 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 CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_
+#define CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_
+
+#include "base/memory/scoped_ptr.h"
+
+class ProxyConfigDictionary;
+
+namespace chromeos {
+
+class NetworkState;
+
+namespace proxy_config {
+
+scoped_ptr<ProxyConfigDictionary> GetProxyConfigForNetwork(
+ const NetworkState& network);
+
+void SetProxyConfigForNetwork(const ProxyConfigDictionary& proxy_config,
+ const NetworkState& network);
+
+} // namespace proxy_config
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_
« no previous file with comments | « no previous file | chrome/browser/chromeos/net/proxy_config_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698