Index: remoting/base/encoder_verbatim.h |
diff --git a/remoting/host/encoder_verbatim.h b/remoting/base/encoder_verbatim.h |
similarity index 67% |
rename from remoting/host/encoder_verbatim.h |
rename to remoting/base/encoder_verbatim.h |
index 175b95417a20d39ccb88d7a188f408a37e43b309..dd019fca9e6b4ec62081c75bd913a4fb8e615582 100644 |
--- a/remoting/host/encoder_verbatim.h |
+++ b/remoting/base/encoder_verbatim.h |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef REMOTING_HOST_ENCODER_VERBATIM_H_ |
-#define REMOTING_HOST_ENCODER_VERBATIM_H_ |
+#ifndef REMOTING_BASE_ENCODER_VERBATIM_H_ |
+#define REMOTING_BASE_ENCODER_VERBATIM_H_ |
-#include "remoting/host/encoder.h" |
+#include "remoting/base/encoder.h" |
namespace remoting { |
@@ -18,7 +18,7 @@ class EncoderVerbatim : public Encoder { |
EncoderVerbatim() {} |
virtual ~EncoderVerbatim() {} |
- virtual void Encode(scoped_refptr<Capturer::CaptureData> capture_data, |
+ virtual void Encode(scoped_refptr<CaptureData> capture_data, |
bool key_frame, |
DataAvailableCallback* data_available_callback); |
@@ -26,11 +26,11 @@ class EncoderVerbatim : public Encoder { |
// Encode a single dirty rect. Called by Encode(). Output is written |
// to |msg|. |
// Returns false if there is an error. |
- bool EncodeRect(const gfx::Rect& dirty, |
- const scoped_refptr<Capturer::CaptureData>& capture_data, |
+ bool EncodeRect(int x, int y, int width, int height, |
+ const scoped_refptr<CaptureData>& capture_data, |
UpdateStreamPacketMessage* msg); |
}; |
} // namespace remoting |
-#endif // REMOTING_HOST_ENCODER_VERBATIM_H_ |
+#endif // REMOTING_BASE_ENCODER_VERBATIM_H_ |