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

Unified Diff: remoting/base/protocol_decoder.cc

Issue 3305001: Move decoder into separate thread, clean up API layering, and redo update protocl (Closed)
Patch Set: Fix compile error. Created 10 years, 2 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/base/protocol_decoder.h ('k') | remoting/base/protocol_decoder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/protocol_decoder.cc
diff --git a/remoting/base/protocol_decoder.cc b/remoting/base/protocol_decoder.cc
index aa26e157eed414a1675883ca28e5d00ee8ceadb6..590063797ec33f1485b664e465bb0836faf280ee 100644
--- a/remoting/base/protocol_decoder.cc
+++ b/remoting/base/protocol_decoder.cc
@@ -29,7 +29,7 @@ void ProtocolDecoder::ParseHostMessages(scoped_refptr<media::DataBuffer> data,
template <typename T>
void ProtocolDecoder::ParseMessages(scoped_refptr<media::DataBuffer> data,
- std::vector<T*>* messages) {
+ std::list<T*>* messages) {
// If this is the first data in the processing queue, then set the
// last read position to 0.
if (data_list_.empty())
« no previous file with comments | « remoting/base/protocol_decoder.h ('k') | remoting/base/protocol_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698