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

Unified Diff: remoting/protocol/host_stub.h

Issue 14715012: Protocol-level changes required to support PIN-less authentication. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: remoting/protocol/host_stub.h
diff --git a/remoting/protocol/host_stub.h b/remoting/protocol/host_stub.h
index 03f3b0857bda3b8b325992869d1b62fb7933f2d7..fa28791798b58847742e63c317f88b9ca709411a 100644
--- a/remoting/protocol/host_stub.h
+++ b/remoting/protocol/host_stub.h
@@ -14,10 +14,12 @@
namespace remoting {
namespace protocol {
+class AudioControl;
class Capabilities;
class ClientResolution;
+class PairingReply;
+class PairingRequest;
class VideoControl;
-class AudioControl;
class HostStub {
public:
@@ -38,6 +40,13 @@ class HostStub {
// Passes the set of capabilities supported by the client to the host.
virtual void SetCapabilities(const Capabilities& capabilities) = 0;
+ // Requests pairing between the host and client for PIN-less authentication.
+ // TODO(jamiewalch): Make this pure virtual once the PIN-less authentication
+ // implementation CLs have landed.
Jamie 2013/05/09 01:37:41 I can make this pure virtual, but it means this CL
rmsousa 2013/05/09 03:55:02 Leaving it blank is fine for now. Same for the equ
+ virtual void RequestPairing(
+ const PairingRequest& pairing_request,
+ const base::Callback<void(const PairingReply&)>& callback) {}
+
protected:
virtual ~HostStub() {}

Powered by Google App Engine
This is Rietveld 408576698