Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Unified Diff: remoting/test/connection_info.h

Issue 1237093004: Support for connecting to localhost on the chromoting test driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored App Remoting and Chromoting code to share StartConnection method. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/test/connection_info.h
diff --git a/remoting/test/connection_info.h b/remoting/test/connection_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..cd9d9fd863c6ca9c94eae8076033834e41f571db
--- /dev/null
+++ b/remoting/test/connection_info.h
@@ -0,0 +1,42 @@
+// Copyright 2015 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.
+
+#ifndef REMOTING_TEST_CONNECTION_INFO_H_
+#define REMOTING_TEST_CONNECTION_INFO_H_
+
+#include <string>
+
+namespace remoting {
+namespace test {
+
+// Holds the information needed to establish a connection with a remote host.
+struct ConnectionInfo {
anandc 2015/07/15 21:12:29 "ConnectionInfo" reads like it holds the informati
tonychun 2015/07/16 23:12:08 Done.
+ ConnectionInfo();
+ ~ConnectionInfo();
+
+ // User provided information.
+ std::string access_token;
+ std::string user_name;
+ std::string pin;
+
+ // Chromoting host information.
+ std::string host_name;
+ std::string offline_reason;
+ std::string public_key;
+
+ // Aoo Remoting information.
anandc 2015/07/15 21:12:29 Typo.
tonychun 2015/07/16 23:12:08 Done.
+ std::string authorization_code;
+ std::string shared_secret;
+
+ // Common information.
+ std::string auth_methods_str;
+ std::string capabilities;
+ std::string host_id;
anandc 2015/07/15 21:12:29 Why is this "common" and not "Chromoting host" inf
tonychun 2015/07/16 23:12:08 Because the host_id and host_jid are also part of
+ std::string host_jid;
+};
+
+} // namespace test
+} // namespace remoting
+
+#endif // REMOTING_TEST_CONNECTION_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698