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

Unified Diff: chromeos/network/proxy/proxy_config_handler.h

Issue 2442313003: Move some proxy config code out of src/chrome (Closed)
Patch Set: Fix DEPS Created 4 years, 2 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 | « chromeos/network/onc/onc_utils.cc ('k') | chromeos/network/proxy/proxy_config_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/proxy/proxy_config_handler.h
diff --git a/chrome/browser/chromeos/net/proxy_config_handler.h b/chromeos/network/proxy/proxy_config_handler.h
similarity index 68%
rename from chrome/browser/chromeos/net/proxy_config_handler.h
rename to chromeos/network/proxy/proxy_config_handler.h
index ea358475399d0d67ba205cfd785537ead876e647..124c1ba5951ce870e813310e280473ba9d6c67f2 100644
--- a/chrome/browser/chromeos/net/proxy_config_handler.h
+++ b/chromeos/network/proxy/proxy_config_handler.h
@@ -2,11 +2,12 @@
// 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_
+#ifndef CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_HANDLER_H_
+#define CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_HANDLER_H_
#include <memory>
+#include "chromeos/chromeos_export.h"
#include "components/onc/onc_constants.h"
class PrefRegistrySimple;
@@ -27,17 +28,18 @@ namespace proxy_config {
// |network|. If |profile_prefs| is NULL, then only shared settings (and device
// policy) are respected. This is e.g. the case for the signin screen and the
// system request context.
-std::unique_ptr<ProxyConfigDictionary> GetProxyConfigForNetwork(
+CHROMEOS_EXPORT std::unique_ptr<ProxyConfigDictionary> GetProxyConfigForNetwork(
const PrefService* profile_prefs,
const PrefService* local_state_prefs,
const NetworkState& network,
::onc::ONCSource* onc_source);
-void SetProxyConfigForNetwork(const ProxyConfigDictionary& proxy_config,
- const NetworkState& network);
+CHROMEOS_EXPORT void SetProxyConfigForNetwork(
+ const ProxyConfigDictionary& proxy_config,
+ const NetworkState& network);
} // namespace proxy_config
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_
+#endif // CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_HANDLER_H_
« no previous file with comments | « chromeos/network/onc/onc_utils.cc ('k') | chromeos/network/proxy/proxy_config_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698