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

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: Fixed linter nit. 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
« no previous file with comments | « remoting/protocol/host_control_dispatcher.cc ('k') | remoting/protocol/protocol_mock_objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/host_stub.h
diff --git a/remoting/protocol/host_stub.h b/remoting/protocol/host_stub.h
index 03f3b0857bda3b8b325992869d1b62fb7933f2d7..d7d5475db2ff74e6aa99ed34d9e0576952be0697 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 PairingResponse;
+class PairingRequest;
class VideoControl;
-class AudioControl;
class HostStub {
public:
@@ -38,6 +40,11 @@ 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.
+ virtual void RequestPairing(const PairingRequest& pairing_request) {}
+
protected:
virtual ~HostStub() {}
« no previous file with comments | « remoting/protocol/host_control_dispatcher.cc ('k') | remoting/protocol/protocol_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698