From 8835692aa95097e2df4a2ec2b2db4768578b06a0 Mon Sep 17 00:00:00 2001 From: "jamiewalch@chromium.org" Date: Tue, 4 Jun 2013 06:26:01 +0000 Subject: This CL adds the "request pairing" implementation between the web-app and the host. Specifically: * Adds a pairing registry to the Chromoting host. * Checks the state of the "remember me" checkbox and sends a pairing request if needed. * Adds the plumbing to get that request to host, and to get the response back to the web-app. * Saves the pairing response to local storage, and uses it next time we connect. * Uses Base64 throughout for the secret, since unencoded random strings can't be serialized via PPAPI. Note that pairing is still disabled because we're still missing per-platform Delegate implementations, a UI for revoking pairings, and policy support for disabling the feature. BUG=156182 Review URL: https://chromiumcodereview.appspot.com/16137004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203865 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/protocol/client_stub.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'remoting/protocol/client_stub.h') diff --git a/remoting/protocol/client_stub.h b/remoting/protocol/client_stub.h index 09a83c5..4507ba7 100644 --- a/remoting/protocol/client_stub.h +++ b/remoting/protocol/client_stub.h @@ -30,9 +30,7 @@ class ClientStub : public ClipboardStub, virtual void SetCapabilities(const Capabilities& capabilities) = 0; // Passes a pairing response message to the client. - // TODO(jamiewalch): Make this pure virtual once the PIN-less authentication - // implementation CLs have landed. - virtual void SetPairingResponse(const PairingResponse& pairing_response) {} + virtual void SetPairingResponse(const PairingResponse& pairing_response) = 0; private: DISALLOW_COPY_AND_ASSIGN(ClientStub); -- cgit v1.1