From 1f249e24c736c7e8a330567b1403d8893f57ea49 Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Tue, 29 Nov 2011 20:19:59 +0000 Subject: 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 --- remoting/host/host_secret.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 remoting/host/host_secret.h (limited to 'remoting/host/host_secret.h') 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 + +namespace remoting { + +// Generates random host secret. +std::string GenerateSupportHostSecret(); + +} // namespace remoting -- cgit v1.1