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

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

Issue 2442313003: Move some proxy config code out of src/chrome (Closed)
Patch Set: Rebase 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
Index: chromeos/network/proxy/proxy_config_service_impl.h
diff --git a/chrome/browser/chromeos/proxy_config_service_impl.h b/chromeos/network/proxy/proxy_config_service_impl.h
similarity index 92%
rename from chrome/browser/chromeos/proxy_config_service_impl.h
rename to chromeos/network/proxy/proxy_config_service_impl.h
index 75a6dce2e02562b7058e088afe90badeedcec419..afa555d982b5a2c9cdf71fdf91b9d8deff665ead 100644
--- a/chrome/browser/chromeos/proxy_config_service_impl.h
+++ b/chromeos/network/proxy/proxy_config_service_impl.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_
-#define CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_
+#ifndef CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_SERVICE_IMPL_H_
+#define CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_SERVICE_IMPL_H_
#include <string>
@@ -42,8 +42,10 @@ class ProxyConfigServiceImpl : public PrefProxyConfigTrackerImpl,
//
// |profile_prefs| can be NULL if this object should only track prefs from
// local state (e.g., for system request context or sigin-in screen).
- explicit ProxyConfigServiceImpl(PrefService* profile_prefs,
- PrefService* local_state_prefs);
+ ProxyConfigServiceImpl(
+ PrefService* profile_prefs,
+ PrefService* local_state_prefs,
+ scoped_refptr<base::SingleThreadTaskRunner> io_task_runner);
~ProxyConfigServiceImpl() override;
// PrefProxyConfigTrackerImpl implementation.
@@ -107,4 +109,4 @@ class ProxyConfigServiceImpl : public PrefProxyConfigTrackerImpl,
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_
+#endif // CHROMEOS_NETWORK_PROXY_PROXY_CONFIG_SERVICE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698