| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h" | 5 #include "chrome/browser/chromeos/dbus/proxy_resolution_service_provider.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/threading/platform_thread.h" | 9 #include "base/threading/platform_thread.h" |
| 10 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
| 11 #include "content/public/browser/browser_thread.h" |
| 11 #include "dbus/bus.h" | 12 #include "dbus/bus.h" |
| 12 #include "dbus/message.h" | 13 #include "dbus/message.h" |
| 13 #include "dbus/exported_object.h" | 14 #include "dbus/exported_object.h" |
| 14 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
| 15 #include "net/proxy/proxy_service.h" | 16 #include "net/proxy/proxy_service.h" |
| 16 #include "net/url_request/url_request_context.h" | 17 #include "net/url_request/url_request_context.h" |
| 17 #include "net/url_request/url_request_context_getter.h" | 18 #include "net/url_request/url_request_context_getter.h" |
| 18 #include "third_party/cros_system_api/dbus/service_constants.h" | 19 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 19 | 20 |
| 20 using content::BrowserThread; | 21 using content::BrowserThread; |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 ProxyResolutionServiceProvider* | 274 ProxyResolutionServiceProvider* |
| 274 ProxyResolutionServiceProvider::CreateForTesting( | 275 ProxyResolutionServiceProvider::CreateForTesting( |
| 275 ProxyResolverInterface* resolver) { | 276 ProxyResolverInterface* resolver) { |
| 276 return new ProxyResolutionServiceProvider(resolver); | 277 return new ProxyResolutionServiceProvider(resolver); |
| 277 } | 278 } |
| 278 | 279 |
| 279 ProxyResolverInterface::~ProxyResolverInterface() { | 280 ProxyResolverInterface::~ProxyResolverInterface() { |
| 280 } | 281 } |
| 281 | 282 |
| 282 } // namespace chromeos | 283 } // namespace chromeos |
| OLD | NEW |