diff options
author | joedow <joedow@chromium.org> | 2015-03-24 23:10:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-25 06:11:03 +0000 |
commit | 2230e1f901c84ce7fb9a69b2055ba9879a0461a2 (patch) | |
tree | a2c91ad6b6c57e14bb6eb724512a6c3cbc21c05d /remoting/test/test_chromoting_client.cc | |
parent | a73fbeaa64b86689506bbbb9a2473460b976dbf8 (diff) | |
download | chromium_src-2230e1f901c84ce7fb9a69b2055ba9879a0461a2.zip chromium_src-2230e1f901c84ce7fb9a69b2055ba9879a0461a2.tar.gz chromium_src-2230e1f901c84ce7fb9a69b2055ba9879a0461a2.tar.bz2 |
Adding Test Fixture for initial test cases for the App Remoting Test Driver. Also includes the public stubs for the remote application data methods.
Also ran clang-format on edited files to keep consistent with formatting
in my previous changelist.
BUG=467200
Review URL: https://codereview.chromium.org/1008043003
Cr-Commit-Position: refs/heads/master@{#322119}
Diffstat (limited to 'remoting/test/test_chromoting_client.cc')
-rw-r--r-- | remoting/test/test_chromoting_client.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/remoting/test/test_chromoting_client.cc b/remoting/test/test_chromoting_client.cc index 925a4fb..adf1093 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() { |