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

Unified Diff: components/proxy_config/ios/proxy_service_factory.h

Issue 2888583002: Move ProxyServiceFactory to components/proxy_service/ios. (Closed)
Patch Set: Update DEPS. Created 3 years, 7 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 | « components/proxy_config/ios/DEPS ('k') | components/proxy_config/ios/proxy_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proxy_config/ios/proxy_service_factory.h
diff --git a/ios/chrome/browser/net/proxy_service_factory.h b/components/proxy_config/ios/proxy_service_factory.h
similarity index 83%
rename from ios/chrome/browser/net/proxy_service_factory.h
rename to components/proxy_config/ios/proxy_service_factory.h
index a7cefa18e9d956a05bb7b5e5f5be77bcaed1c877..dfa00ca542e5a1af5ba5c64120fb1b8dedeb677a 100644
--- a/ios/chrome/browser/net/proxy_service_factory.h
+++ b/components/proxy_config/ios/proxy_service_factory.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef IOS_CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_
-#define IOS_CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_
+#ifndef COMPONENTS_PROXY_CONFIG_IOS_PROXY_SERVICE_FACTORY_H_
+#define COMPONENTS_PROXY_CONFIG_IOS_PROXY_SERVICE_FACTORY_H_
#include <memory>
#include "base/macros.h"
+#include "components/proxy_config/proxy_config_export.h"
class PrefProxyConfigTracker;
class PrefService;
@@ -20,9 +21,7 @@ class ProxyService;
class URLRequestContext;
}
-namespace ios {
-
-class ProxyServiceFactory {
+class PROXY_CONFIG_EXPORT ProxyServiceFactory {
public:
// Creates a ProxyConfigService that delivers the system preferences.
static std::unique_ptr<net::ProxyConfigService> CreateProxyConfigService(
@@ -50,6 +49,4 @@ class ProxyServiceFactory {
DISALLOW_COPY_AND_ASSIGN(ProxyServiceFactory);
};
-} // namespace ios
-
-#endif // IOS_CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_
+#endif // COMPONENTS_PROXY_CONFIG_IOS_PROXY_SERVICE_FACTORY_H_
« no previous file with comments | « components/proxy_config/ios/DEPS ('k') | components/proxy_config/ios/proxy_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698