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

Unified Diff: device/usb/mojo/device_manager_impl.h

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/usb/mojo/device_impl.cc ('k') | extensions/browser/api/mime_handler_private/mime_handler_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mojo/device_manager_impl.h
diff --git a/device/usb/mojo/device_manager_impl.h b/device/usb/mojo/device_manager_impl.h
index 2bc524a3f215c23645d5e616a76fc806ea351c8f..87b79d883a0647a10d712bc9ce4a6c1133b66e24 100644
--- a/device/usb/mojo/device_manager_impl.h
+++ b/device/usb/mojo/device_manager_impl.h
@@ -9,6 +9,7 @@
#include <queue>
#include <set>
+#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
@@ -45,7 +46,7 @@ class DeviceManagerImpl : public DeviceManager, public UsbService::Observer {
mojo::InterfaceRequest<DeviceManager> request);
~DeviceManagerImpl() override;
- void set_connection_error_handler(const mojo::Closure& error_handler) {
+ void set_connection_error_handler(const base::Closure& error_handler) {
connection_error_handler_ = error_handler;
}
@@ -75,7 +76,7 @@ class DeviceManagerImpl : public DeviceManager, public UsbService::Observer {
ScopedObserver<UsbService, UsbService::Observer> observer_;
DeviceManagerClientPtr client_;
- mojo::Closure connection_error_handler_;
+ base::Closure connection_error_handler_;
mojo::StrongBinding<DeviceManager> binding_;
base::WeakPtrFactory<DeviceManagerImpl> weak_factory_;
« no previous file with comments | « device/usb/mojo/device_impl.cc ('k') | extensions/browser/api/mime_handler_private/mime_handler_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698