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

Unified Diff: chrome/browser/extensions/api/serial/serial_io_handler_posix.h

Issue 363583002: Convert SerialIoHandler to use Mojo types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove "default" case Created 6 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
Index: chrome/browser/extensions/api/serial/serial_io_handler_posix.h
diff --git a/chrome/browser/extensions/api/serial/serial_io_handler_posix.h b/chrome/browser/extensions/api/serial/serial_io_handler_posix.h
index 1128e68dbaac4d1372caa266d499dcd94408652d..86fc3f87562c5f472fa48494cfc1efc2e35dc565 100644
--- a/chrome/browser/extensions/api/serial/serial_io_handler_posix.h
+++ b/chrome/browser/extensions/api/serial/serial_io_handler_posix.h
@@ -19,13 +19,13 @@ class SerialIoHandlerPosix : public SerialIoHandler,
virtual void CancelReadImpl() OVERRIDE;
virtual void CancelWriteImpl() OVERRIDE;
virtual bool Flush() const OVERRIDE;
- virtual bool GetControlSignals(
- api::serial::DeviceControlSignals* control_signals) const OVERRIDE;
+ virtual device::serial::DeviceControlSignalsPtr GetControlSignals()
+ const OVERRIDE;
virtual bool SetControlSignals(
- const api::serial::HostControlSignals& control_signals) OVERRIDE;
+ const device::serial::HostControlSignals& control_signals) OVERRIDE;
virtual bool ConfigurePort(
- const api::serial::ConnectionOptions& options) OVERRIDE;
- virtual bool GetPortInfo(api::serial::ConnectionInfo* info) const OVERRIDE;
+ const device::serial::ConnectionOptions& options) OVERRIDE;
+ virtual device::serial::ConnectionInfoPtr GetPortInfo() const OVERRIDE;
virtual bool PostOpen() OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698