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

Unified Diff: remoting/host/session_manager.h

Issue 4255001: Revert 64672 - Cleanups in the video encoding decoding code. Reenable VP8.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/host/mock_objects.h ('k') | remoting/host/session_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/session_manager.h
===================================================================
--- remoting/host/session_manager.h (revision 64676)
+++ remoting/host/session_manager.h (working copy)
@@ -14,7 +14,8 @@
#include "base/time.h"
#include "remoting/base/encoder.h"
#include "remoting/host/capturer.h"
-#include "remoting/proto/video.pb.h"
+// TODO(hclam): This class should not know the internal protobuf types.
+#include "remoting/proto/internal.pb.h"
namespace remoting {
@@ -125,7 +126,8 @@
void DoRateControl();
// DoSendUpdate takes ownership of header and is responsible for deleting it.
- void DoSendVideoPacket(VideoPacket* packet);
+ void DoSendUpdate(ChromotingHostMessage* message,
+ Encoder::EncodingState state);
void DoSendInit(scoped_refptr<ClientConnection> client,
int width, int height);
@@ -139,7 +141,8 @@
// EncodeDataAvailableTask takes ownership of header and is responsible for
// deleting it.
- void EncodeDataAvailableTask(VideoPacket* packet);
+ void EncodeDataAvailableTask(ChromotingHostMessage* message,
+ Encoder::EncodingState state);
// Message loops used by this class.
MessageLoop* capture_loop_;
« no previous file with comments | « remoting/host/mock_objects.h ('k') | remoting/host/session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698