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

Unified Diff: remoting/protocol/client_control_dispatcher.cc

Issue 9827006: Refactor VideoStub interface to accept ownership of video packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/protocol/client_control_dispatcher.h ('k') | remoting/protocol/connection_to_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_control_dispatcher.cc
diff --git a/remoting/protocol/client_control_dispatcher.cc b/remoting/protocol/client_control_dispatcher.cc
index 8503f19b401e9db3c08be43e7ad43030f207e20f..b1aefc2f3da0c6c2bcfaa249afedae16dae9c2d8 100644
--- a/remoting/protocol/client_control_dispatcher.cc
+++ b/remoting/protocol/client_control_dispatcher.cc
@@ -43,7 +43,7 @@ void ClientControlDispatcher::InjectClipboardEvent(
}
void ClientControlDispatcher::OnMessageReceived(
- ControlMessage* message, const base::Closure& done_task) {
+ scoped_ptr<ControlMessage> message, const base::Closure& done_task) {
DCHECK(client_stub_);
base::ScopedClosureRunner done_runner(done_task);
LOG(WARNING) << "Unknown control message received.";
« no previous file with comments | « remoting/protocol/client_control_dispatcher.h ('k') | remoting/protocol/connection_to_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698