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

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

Issue 1226163009: Convert usages of mojo::ErrorHandler in //device to callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comment. Created 5 years, 5 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/devices_app/devices_app.cc ('k') | device/devices_app/usb/device_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/devices_app/usb/device_manager_impl.h
diff --git a/device/devices_app/usb/device_manager_impl.h b/device/devices_app/usb/device_manager_impl.h
index 5b0fb045ae93ae44573ace787c5208536bc02fcf..57f64a7a3719bfc6e1c40c66d1ba837f0f7d6076 100644
--- a/device/devices_app/usb/device_manager_impl.h
+++ b/device/devices_app/usb/device_manager_impl.h
@@ -19,10 +19,6 @@ namespace base {
class SequencedTaskRunner;
}
-namespace mojo {
-class ErrorHandler;
-}
-
namespace device {
class UsbDevice;
@@ -43,7 +39,7 @@ class DeviceManagerImpl : public DeviceManager {
scoped_refptr<base::SequencedTaskRunner> service_task_runner);
~DeviceManagerImpl() override;
- void set_error_handler(mojo::ErrorHandler* error_handler);
+ void set_connection_error_handler(const mojo::Closure& error_handler);
private:
// DeviceManager implementation:
« no previous file with comments | « device/devices_app/devices_app.cc ('k') | device/devices_app/usb/device_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698