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

Side by Side Diff: chromeos/dbus/services/proxy_resolution_service_provider.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… 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 unified diff | Download patch
OLDNEW
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 "chromeos/dbus/services/proxy_resolution_service_provider.h" 5 #include "chromeos/dbus/services/proxy_resolution_service_provider.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "dbus/bus.h" 14 #include "dbus/bus.h"
15 #include "dbus/message.h" 15 #include "dbus/message.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "net/log/net_log_with_source.h"
17 #include "net/proxy/proxy_service.h" 18 #include "net/proxy/proxy_service.h"
18 #include "net/url_request/url_request_context.h" 19 #include "net/url_request/url_request_context.h"
19 #include "net/url_request/url_request_context_getter.h" 20 #include "net/url_request/url_request_context_getter.h"
20 #include "third_party/cros_system_api/dbus/service_constants.h" 21 #include "third_party/cros_system_api/dbus/service_constants.h"
21 22
22 namespace chromeos { 23 namespace chromeos {
23 24
24 // The ProxyResolverInterface implementation used in production. 25 // The ProxyResolverInterface implementation used in production.
25 class ProxyResolverImpl : public ProxyResolverInterface { 26 class ProxyResolverImpl : public ProxyResolverInterface {
26 public: 27 public:
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 ProxyResolutionServiceProvider* ProxyResolutionServiceProvider::Create( 269 ProxyResolutionServiceProvider* ProxyResolutionServiceProvider::Create(
269 std::unique_ptr<ProxyResolverDelegate> delegate) { 270 std::unique_ptr<ProxyResolverDelegate> delegate) {
270 return new ProxyResolutionServiceProvider( 271 return new ProxyResolutionServiceProvider(
271 new ProxyResolverImpl(std::move(delegate))); 272 new ProxyResolverImpl(std::move(delegate)));
272 } 273 }
273 274
274 ProxyResolverInterface::~ProxyResolverInterface() { 275 ProxyResolverInterface::~ProxyResolverInterface() {
275 } 276 }
276 277
277 } // namespace chromeos 278 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698