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

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

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 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 "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"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 LOG(WARNING) << "Pending request for " << request->source_url_; 72 LOG(WARNING) << "Pending request for " << request->source_url_;
73 delete request; 73 delete request;
74 } 74 }
75 } 75 }
76 76
77 // ProxyResolverInterface override. 77 // ProxyResolverInterface override.
78 virtual void ResolveProxy( 78 virtual void ResolveProxy(
79 const std::string& source_url, 79 const std::string& source_url,
80 const std::string& signal_interface, 80 const std::string& signal_interface,
81 const std::string& signal_name, 81 const std::string& signal_name,
82 scoped_refptr<dbus::ExportedObject> exported_object) OVERRIDE { 82 scoped_refptr<dbus::ExportedObject> exported_object) override {
83 DCHECK(OnOriginThread()); 83 DCHECK(OnOriginThread());
84 84
85 // Create a request slot for this proxy resolution request. 85 // Create a request slot for this proxy resolution request.
86 Request* request = new Request(source_url); 86 Request* request = new Request(source_url);
87 request->notify_task_ = base::Bind( 87 request->notify_task_ = base::Bind(
88 &ProxyResolverImpl::NotifyProxyResolved, 88 &ProxyResolverImpl::NotifyProxyResolved,
89 weak_ptr_factory_.GetWeakPtr(), 89 weak_ptr_factory_.GetWeakPtr(),
90 signal_interface, 90 signal_interface,
91 signal_name, 91 signal_name,
92 exported_object, 92 exported_object,
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 ProxyResolutionServiceProvider* 273 ProxyResolutionServiceProvider*
274 ProxyResolutionServiceProvider::CreateForTesting( 274 ProxyResolutionServiceProvider::CreateForTesting(
275 ProxyResolverInterface* resolver) { 275 ProxyResolverInterface* resolver) {
276 return new ProxyResolutionServiceProvider(resolver); 276 return new ProxyResolutionServiceProvider(resolver);
277 } 277 }
278 278
279 ProxyResolverInterface::~ProxyResolverInterface() { 279 ProxyResolverInterface::~ProxyResolverInterface() {
280 } 280 }
281 281
282 } // namespace chromeos 282 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698