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

Side by Side Diff: chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/threading/platform_thread.h" 8 #include "base/threading/platform_thread.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/profiles/profile_manager.h" 10 #include "chrome/browser/profiles/profile_manager.h"
11 #include "dbus/bus.h" 11 #include "dbus/bus.h"
12 #include "dbus/message.h" 12 #include "dbus/message.h"
13 #include "dbus/exported_object.h" 13 #include "dbus/exported_object.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "net/proxy/proxy_service.h" 15 #include "net/proxy/proxy_service.h"
16 #include "net/url_request/url_request_context.h" 16 #include "net/url_request/url_request_context.h"
17 #include "net/url_request/url_request_context_getter.h" 17 #include "net/url_request/url_request_context_getter.h"
18 #include "third_party/cros_system_api/dbus/service_constants.h" 18 #include "third_party/cros_system_api/dbus/service_constants.h"
19 19
20 using content::BrowserThread;
21
20 namespace chromeos { 22 namespace chromeos {
21 23
22 // The ProxyResolverInterface implementation used in production. 24 // The ProxyResolverInterface implementation used in production.
23 class ProxyResolverImpl : public ProxyResolverInterface { 25 class ProxyResolverImpl : public ProxyResolverInterface {
24 public: 26 public:
25 // Data being used in one proxy resolution. 27 // Data being used in one proxy resolution.
26 class Request { 28 class Request {
27 public: 29 public:
28 explicit Request(const std::string& source_url) 30 explicit Request(const std::string& source_url)
29 : ALLOW_THIS_IN_INITIALIZER_LIST( 31 : ALLOW_THIS_IN_INITIALIZER_LIST(
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 ProxyResolutionServiceProvider* 269 ProxyResolutionServiceProvider*
268 ProxyResolutionServiceProvider::CreateForTesting( 270 ProxyResolutionServiceProvider::CreateForTesting(
269 ProxyResolverInterface* resolver) { 271 ProxyResolverInterface* resolver) {
270 return new ProxyResolutionServiceProvider(resolver); 272 return new ProxyResolutionServiceProvider(resolver);
271 } 273 }
272 274
273 ProxyResolverInterface::~ProxyResolverInterface() { 275 ProxyResolverInterface::~ProxyResolverInterface() {
274 } 276 }
275 277
276 } // namespace chromeos 278 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/customization_document.cc ('k') | chrome/browser/chromeos/dbus/sensors_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698