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

Unified Diff: device/serial/serial_io_handler_posix.h

Issue 646053002: Implement permission_broker for serial devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: device/serial/serial_io_handler_posix.h
diff --git a/device/serial/serial_io_handler_posix.h b/device/serial/serial_io_handler_posix.h
index ef4bd377b321a47febb45c567a1e5b735cf483f1..71f063587bb8efb04f781c65fba1fd56bf3a2375 100644
--- a/device/serial/serial_io_handler_posix.h
+++ b/device/serial/serial_io_handler_posix.h
@@ -24,6 +24,9 @@ class SerialIoHandlerPosix : public SerialIoHandler,
const serial::HostControlSignals& control_signals) override;
virtual bool ConfigurePort(const serial::ConnectionOptions& options) override;
virtual serial::ConnectionInfoPtr GetPortInfo() const override;
+ virtual void RequestAccess(
+ const std::string& port,
+ scoped_refptr<base::MessageLoopProxy> io_message_loop) override;
virtual bool PostOpen() override;
private:

Powered by Google App Engine
This is Rietveld 408576698