summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/client_stub.h
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 06:26:01 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 06:26:01 +0000
commit8835692aa95097e2df4a2ec2b2db4768578b06a0 (patch)
tree3eb40c08525740259ff976b617befdacad442541 /remoting/protocol/client_stub.h
parentde1bb9caab81d7a80dac9ebe59a5ea2aa56048dd (diff)
downloadchromium_src-8835692aa95097e2df4a2ec2b2db4768578b06a0.zip
chromium_src-8835692aa95097e2df4a2ec2b2db4768578b06a0.tar.gz
chromium_src-8835692aa95097e2df4a2ec2b2db4768578b06a0.tar.bz2
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
Diffstat (limited to 'remoting/protocol/client_stub.h')
-rw-r--r--remoting/protocol/client_stub.h4
1 files changed, 1 insertions, 3 deletions
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);