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

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

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/proxy_service_factory.h ('k') | ios/chrome/browser/BUILD.gn » ('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.cc
diff --git a/ios/chrome/browser/net/proxy_service_factory.cc b/components/proxy_config/ios/proxy_service_factory.cc
similarity index 95%
rename from ios/chrome/browser/net/proxy_service_factory.cc
rename to components/proxy_config/ios/proxy_service_factory.cc
index 2d49db1fa3e272a22221ec6ab1cb4b08214e62c7..600191ae7f8babc7cf47a4df800a8cde91d971db 100644
--- a/ios/chrome/browser/net/proxy_service_factory.cc
+++ b/components/proxy_config/ios/proxy_service_factory.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ios/chrome/browser/net/proxy_service_factory.h"
+#include "components/proxy_config/ios/proxy_service_factory.h"
#include <utility>
@@ -12,8 +12,6 @@
#include "net/proxy/proxy_config_service.h"
#include "net/proxy/proxy_service.h"
-namespace ios {
-
// static
std::unique_ptr<net::ProxyConfigService>
ProxyServiceFactory::CreateProxyConfigService(PrefProxyConfigTracker* tracker) {
@@ -57,5 +55,3 @@ std::unique_ptr<net::ProxyService> ProxyServiceFactory::CreateProxyService(
proxy_service->set_quick_check_enabled(quick_check_enabled);
return proxy_service;
}
-
-} // namespace ios
« no previous file with comments | « components/proxy_config/ios/proxy_service_factory.h ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698