summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/protocol_mock_objects.h
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 01:16:56 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 01:16:56 +0000
commitce3ebfadcc88c39a5fad11a012c44071cf08dba8 (patch)
tree85f8e002b8d0d7165599ddeb08b4e151f0cbb2c7 /remoting/protocol/protocol_mock_objects.h
parentf930edd6264e33bc7a57ecc8cad52a80330cfb5e (diff)
downloadchromium_src-ce3ebfadcc88c39a5fad11a012c44071cf08dba8.zip
chromium_src-ce3ebfadcc88c39a5fad11a012c44071cf08dba8.tar.gz
chromium_src-ce3ebfadcc88c39a5fad11a012c44071cf08dba8.tar.bz2
Add an authentication step to stream channel setup in JingleStreamConnector.
Fix JingleStreamConnector and JingleDatagramConnector tear-down semantics in case of failure. BUG=88130,90624 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94247 Review URL: http://codereview.chromium.org/7501007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/protocol_mock_objects.h')
-rw-r--r--remoting/protocol/protocol_mock_objects.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/protocol/protocol_mock_objects.h b/remoting/protocol/protocol_mock_objects.h
index 199dd2d..716a3b4 100644
--- a/remoting/protocol/protocol_mock_objects.h
+++ b/remoting/protocol/protocol_mock_objects.h
@@ -128,6 +128,8 @@ class MockSession : public Session {
MOCK_METHOD1(set_initiator_token, void(const std::string& initiator_token));
MOCK_METHOD0(receiver_token, const std::string&());
MOCK_METHOD1(set_receiver_token, void(const std::string& receiver_token));
+ MOCK_METHOD1(set_shared_secret, void(const std::string& secret));
+ MOCK_METHOD0(shared_secret, const std::string&());
MOCK_METHOD0(Close, void());
private: