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

Unified Diff: remoting/test/host_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: Indent fix. 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
« no previous file with comments | « remoting/test/connection_setup_info.cc ('k') | remoting/test/host_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/host_info.h
diff --git a/remoting/test/host_info.h b/remoting/test/host_info.h
index 06348fba735bdd59cb109f07e966068e27945195..5b86f1cdfc47542aecf3993f694538e999812d51 100644
--- a/remoting/test/host_info.h
+++ b/remoting/test/host_info.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/values.h"
+#include "remoting/test/connection_setup_info.h"
namespace remoting {
namespace test {
@@ -24,6 +25,15 @@ struct HostInfo {
bool ParseHostInfo(const base::DictionaryValue& host_info);
+ // Returns true if the chromoting host is ready to accept connections.
+ bool IsReadyForConnection() const;
+
+ // Generates connection information to establish a chromoting connection.
+ ConnectionSetupInfo GenerateConnectionSetupInfo(
+ const std::string& access_token,
+ const std::string& user_name,
+ const std::string& pin) const;
+
std::string host_id;
std::string host_jid;
std::string host_name;
« no previous file with comments | « remoting/test/connection_setup_info.cc ('k') | remoting/test/host_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698