| Index: chrome/browser/profiles/profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
|
| index 4926d689e8cf33f8f2c77f055cb79ef5de36dcef..9d3c451dc533bb3d11f7de8b58599ca546705306 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -10,12 +10,12 @@
|
| #include "base/string_number_conversions.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/browser_thread.h"
|
| +#include "chrome/browser/extensions/user_script_master.h"
|
| #include "chrome/browser/io_thread.h"
|
| #include "chrome/browser/net/chrome_cookie_notification_details.h"
|
| #include "chrome/browser/net/pref_proxy_config_service.h"
|
| -#include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| -#include "chrome/browser/extensions/user_script_master.h"
|
| +#include "chrome/browser/profiles/profile.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/notification_service.h"
|
| #include "chrome/common/pref_names.h"
|
| @@ -27,7 +27,6 @@
|
| #if defined(OS_CHROMEOS)
|
| #include "chrome/browser/chromeos/cros/cros_library.h"
|
| #include "chrome/browser/chromeos/cros/libcros_service_library.h"
|
| -#include "chrome/browser/chromeos/proxy_config_service.h"
|
| #endif // defined(OS_CHROMEOS)
|
|
|
| namespace {
|
| @@ -272,10 +271,7 @@ net::ProxyConfigService* ProfileIOData::CreateProxyConfigService(
|
| // TODO(port): the IO and FILE message loops are only used by Linux. Can
|
| // that code be moved to chrome/browser instead of being in net, so that it
|
| // can use BrowserThread instead of raw MessageLoop pointers? See bug 25354.
|
| -#if defined(OS_CHROMEOS)
|
| - base_service = new chromeos::ProxyConfigService(
|
| - profile->GetChromeOSProxyConfigServiceImpl());
|
| -#else
|
| +#if !defined(OS_CHROMEOS)
|
| base_service = net::ProxyService::CreateSystemProxyConfigService(
|
| g_browser_process->io_thread()->message_loop(),
|
| g_browser_process->file_thread()->message_loop());
|
|
|