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

Unified Diff: remoting/protocol/client_control_dispatcher.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/client_control_dispatcher.h
diff --git a/remoting/protocol/client_control_dispatcher.h b/remoting/protocol/client_control_dispatcher.h
index dce4d9b39d794446483ed6adb6b0e309fb4260df..c2f83a3359af88125b7aa027f1c9917ceef13f0b 100644
--- a/remoting/protocol/client_control_dispatcher.h
+++ b/remoting/protocol/client_control_dispatcher.h
@@ -39,6 +39,9 @@ class ClientControlDispatcher : public ChannelDispatcherBase,
virtual void ControlVideo(const VideoControl& video_control) OVERRIDE;
virtual void ControlAudio(const AudioControl& audio_control) OVERRIDE;
virtual void SetCapabilities(const Capabilities& capabilities) OVERRIDE;
+ virtual void RequestPairing(
+ const PairingRequest& pairing_request,
+ const base::Callback<void(const PairingReply&)>&) OVERRIDE;
// Sets the ClientStub that will be called for each incoming control
// message. |client_stub| must outlive this object.
@@ -64,6 +67,8 @@ class ClientControlDispatcher : public ChannelDispatcherBase,
ProtobufMessageReader<ControlMessage> reader_;
BufferedSocketWriter writer_;
+ base::Callback<void(const PairingReply&)> latest_pairing_callback_;
+
DISALLOW_COPY_AND_ASSIGN(ClientControlDispatcher);
};

Powered by Google App Engine
This is Rietveld 408576698