summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_secret.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-29 20:19:59 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-29 20:19:59 +0000
commit1f249e24c736c7e8a330567b1403d8893f57ea49 (patch)
tree6feaa0669f1d1f0f2c6071a4cb66ee799015db46 /remoting/host/host_secret.h
parent72851a9a7d4f40ae41d26ac1a94f02544ac495be (diff)
downloadchromium_src-1f249e24c736c7e8a330567b1403d8893f57ea49.zip
chromium_src-1f249e24c736c7e8a330567b1403d8893f57ea49.tar.gz
chromium_src-1f249e24c736c7e8a330567b1403d8893f57ea49.tar.bz2
Remove AccessVerifier interface.
AccessVerifier will be replaced with the new protocol::Authenticator interface. This also changes behavior of Session interface when session is rejected due to bad auth: now the session is first accepted by ChromotingHost but then goes to FAILED state with the new AUTHENTICATION_FAILED error. Temporarily auth token is verified in JingleSession::AcceptConnection(). Later Authenticator implementation will be used instead. BUG=105214 Review URL: http://codereview.chromium.org/8662001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112009 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_secret.h')
-rw-r--r--remoting/host/host_secret.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/remoting/host/host_secret.h b/remoting/host/host_secret.h
new file mode 100644
index 0000000..63fe590
--- /dev/null
+++ b/remoting/host/host_secret.h
@@ -0,0 +1,12 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include <string>
+
+namespace remoting {
+
+// Generates random host secret.
+std::string GenerateSupportHostSecret();
+
+} // namespace remoting