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

Unified Diff: remoting/base/encoder.h

Issue 2840036: Moving Encoder and Decoder to remoting/base (Closed)
Patch Set: fix DEPS Created 10 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/base/decoder_verbatim_unittest.cc ('k') | remoting/base/encoder_verbatim.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/encoder.h
diff --git a/remoting/host/encoder.h b/remoting/base/encoder.h
similarity index 88%
rename from remoting/host/encoder.h
rename to remoting/base/encoder.h
index ee43c94ebf064d593f14f9b1f430503a653c1a0c..0c1fd50f5583e64af4edc09b7cb1d85cd20155d0 100644
--- a/remoting/host/encoder.h
+++ b/remoting/base/encoder.h
@@ -2,14 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_HOST_ENCODER_H_
-#define REMOTING_HOST_ENCODER_H_
+#ifndef REMOTING_BASE_ENCODER_H_
+#define REMOTING_BASE_ENCODER_H_
#include "base/basictypes.h"
#include "base/callback.h"
#include "media/base/data_buffer.h"
#include "remoting/base/protocol/chromotocol.pb.h"
-#include "remoting/host/capturer.h"
namespace media {
class DataBuffer;
@@ -17,6 +16,7 @@ namespace media {
namespace remoting {
+class CaptureData;
class HostMessage;
// A class to perform the task of encoding a continous stream of
@@ -51,11 +51,11 @@ class Encoder {
//
// When encoded data is available, partial or full |data_available_callback|
// is called.
- virtual void Encode(scoped_refptr<Capturer::CaptureData> capture_data,
+ virtual void Encode(scoped_refptr<CaptureData> capture_data,
bool key_frame,
DataAvailableCallback* data_available_callback) = 0;
};
} // namespace remoting
-#endif // REMOTING_HOST_ENCODER_H_
+#endif // REMOTING_BASE_ENCODER_H_
« no previous file with comments | « remoting/base/decoder_verbatim_unittest.cc ('k') | remoting/base/encoder_verbatim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698