ExtensionInstallDialogView: fix scrolling behavior on Views (Win,Linux)
[chromium-blink-merge.git] / remoting / test / remote_host_info.h
blobd74269f0d6323f10ad85be339065f7ace0457f7b
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef REMOTING_TEST_REMOTE_HOST_INFO_H_
6 #define REMOTING_TEST_REMOTE_HOST_INFO_H_
8 #include <string>
10 namespace remoting {
11 namespace test {
13 enum RemoteHostStatus {
14 kRemoteHostStatusReady,
15 kRemoteHostStatusPending,
16 kRemoteHostStatusUnknown
19 // Holds the information needed to establish a connection with a remote host.
20 struct RemoteHostInfo {
21 RemoteHostInfo();
22 ~RemoteHostInfo();
24 // Returns true if the remote host is ready to accept connections.
25 bool IsReadyForConnection() const;
27 // Sets the |remote_host_status| based on the caller supplied string.
28 void SetRemoteHostStatusFromString(const std::string& status_string);
30 // Data used to establish a connection with a remote host.
31 RemoteHostStatus remote_host_status;
32 std::string application_id;
33 std::string host_id;
34 std::string host_jid;
35 std::string authorization_code;
36 std::string shared_secret;
39 } // namespace test
40 } // namespace remoting
42 #endif // REMOTING_TEST_REMOTE_HOST_INFO_H_