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

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

Issue 2080083002: Revert of Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 87b79d883a0647a10d712bc9ce4a6c1133b66e24..2bc524a3f215c23645d5e616a76fc806ea351c8f 100644
--- a/device/usb/mojo/device_manager_impl.h
+++ b/device/usb/mojo/device_manager_impl.h
@@ -9,7 +9,6 @@
#include <queue>
#include <set>
-#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
@@ -46,7 +45,7 @@
mojo::InterfaceRequest<DeviceManager> request);
~DeviceManagerImpl() override;
- void set_connection_error_handler(const base::Closure& error_handler) {
+ void set_connection_error_handler(const mojo::Closure& error_handler) {
connection_error_handler_ = error_handler;
}
@@ -76,7 +75,7 @@
ScopedObserver<UsbService, UsbService::Observer> observer_;
DeviceManagerClientPtr client_;
- base::Closure connection_error_handler_;
+ mojo::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