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

Unified Diff: remoting/protocol/session_config.cc

Issue 1288063004: Simplify FrameConsumer interface. Remove FrameProducer interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/protocol/session_config.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/session_config.cc
diff --git a/remoting/protocol/session_config.cc b/remoting/protocol/session_config.cc
index c2b54e442056b4933794975bca0240a14268f63f..9034ceab5add0ecf07e15d995afc01a95ae49346 100644
--- a/remoting/protocol/session_config.cc
+++ b/remoting/protocol/session_config.cc
@@ -151,6 +151,14 @@ scoped_ptr<SessionConfig> SessionConfig::ForTest() {
return result.Pass();
}
+scoped_ptr<SessionConfig> SessionConfig::ForTestWithVerbatimVideo() {
+ scoped_ptr<SessionConfig> result = ForTest();
+ result->video_config_ = ChannelConfig(ChannelConfig::TRANSPORT_QUIC_STREAM,
+ kDefaultStreamVersion,
+ ChannelConfig::CODEC_VERBATIM);
+ return result.Pass();
+}
+
SessionConfig::SessionConfig() {}
CandidateSessionConfig::CandidateSessionConfig() {}
« no previous file with comments | « remoting/protocol/session_config.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698