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

Unified Diff: remoting/test/test_chromoting_client.cc

Issue 1008043003: Adding Test Fixture for initial test cases for the App Remoting Test Driver. Also includes the pub… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing 2nd round of feedback Created 5 years, 9 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/test_chromoting_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/test_chromoting_client.cc
diff --git a/remoting/test/test_chromoting_client.cc b/remoting/test/test_chromoting_client.cc
index 925a4fbd7285804e686e68cd14e7d3c167c9f92f..adf1093893c11cfbb5a2ef9ec1ebacee23cc17d0 100644
--- a/remoting/test/test_chromoting_client.cc
+++ b/remoting/test/test_chromoting_client.cc
@@ -31,6 +31,9 @@
namespace {
+const char kAppRemotingCapabilities[] =
+ "rateLimitResizeRequests desktopShape sendInitialResolution googleDrive";
+
const char kXmppHostName[] = "talk.google.com";
const int kXmppPortNumber = 5222;
@@ -160,8 +163,7 @@ void TestChromotingClient::StartConnection(
chromoting_client_.reset(new ChromotingClient(client_context_.get(),
this, // client_user_interface.
video_renderer_.get(),
- nullptr // audio_player
- ));
+ nullptr)); // audio_player
if (test_connection_to_host_) {
chromoting_client_->SetConnectionToHostForTests(
@@ -212,8 +214,7 @@ void TestChromotingClient::StartConnection(
chromoting_client_->Start(signal_strategy_.get(), authenticator.Pass(),
transport_factory.Pass(), remote_host_info.host_jid,
- std::string() // capabilities
- );
+ kAppRemotingCapabilities);
}
void TestChromotingClient::EndConnection() {
« no previous file with comments | « remoting/test/test_chromoting_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698