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

Unified Diff: remoting/host/client_session.cc

Issue 394883008: Add basic perf tests for chromoting protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/client/chromoting_client.cc ('k') | remoting/host/fake_desktop_environment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 63bd77f6ce3741c9a6efb8065ce569d18a6986f9..87484df00e78428257023c2e5eada46a301eae8a 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -489,6 +489,8 @@ scoped_ptr<VideoEncoder> ClientSession::CreateVideoEncoder(
return remoting::VideoEncoderVpx::CreateForVP8().PassAs<VideoEncoder>();
} else if (video_config.codec == protocol::ChannelConfig::CODEC_VP9) {
return remoting::VideoEncoderVpx::CreateForVP9().PassAs<VideoEncoder>();
+ } else if (video_config.codec == protocol::ChannelConfig::CODEC_VERBATIM) {
+ return scoped_ptr<VideoEncoder>(new remoting::VideoEncoderVerbatim());
}
NOTREACHED();
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/host/fake_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698