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

Unified Diff: remoting/host/screen_recorder.h

Issue 10790075: Rename Capturer to VideoFrameCapturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased. Created 8 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/host/remoting_me2me_host.cc ('k') | remoting/host/screen_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/screen_recorder.h
diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h
index ca539f9718d8583ddc9adf91e5319eac74b6127f..2c343d38abe2bb3e8985c6275ccb5e1fde66cc20 100644
--- a/remoting/host/screen_recorder.h
+++ b/remoting/host/screen_recorder.h
@@ -14,7 +14,6 @@
#include "base/time.h"
#include "base/timer.h"
#include "remoting/base/encoder.h"
-#include "remoting/host/capturer.h"
#include "remoting/host/capture_scheduler.h"
#include "remoting/proto/video.pb.h"
@@ -24,14 +23,15 @@ class SingleThreadTaskRunner;
namespace remoting {
+class CaptureData;
+class VideoFrameCapturer;
+
namespace protocol {
class ConnectionToClient;
class CursorShapeInfo;
} // namespace protocol
-class CaptureData;
-
-// A class for controlling and coordinate Capturer, Encoder
+// A class for controlling and coordinate VideoFrameCapturer, Encoder
// and NetworkChannel in a record session.
//
// THREADING
@@ -75,14 +75,13 @@ class CaptureData;
// if set to false.
class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
public:
-
// Construct a ScreenRecorder. Message loops and threads are provided.
// This object does not own capturer but owns encoder.
ScreenRecorder(
scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
- Capturer* capturer,
+ VideoFrameCapturer* capturer,
Encoder* encoder);
// Start recording.
@@ -109,7 +108,7 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
virtual ~ScreenRecorder();
// Getters for capturer and encoder.
- Capturer* capturer();
+ VideoFrameCapturer* capturer();
Encoder* encoder();
bool is_recording();
@@ -163,7 +162,7 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
// Reference to the capturer. This member is always accessed on the capture
// thread.
- Capturer* capturer_;
+ VideoFrameCapturer* capturer_;
// Reference to the encoder. This member is always accessed on the encode
// thread.
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/screen_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698