Index: media/video/capture/screen/screen_capturer_helper.h |
diff --git a/remoting/capturer/video_frame_capturer_helper.h b/media/video/capture/screen/screen_capturer_helper.h |
similarity index 81% |
rename from remoting/capturer/video_frame_capturer_helper.h |
rename to media/video/capture/screen/screen_capturer_helper.h |
index 79a47507f7aadf132fe88e2fad7c9b731d1dea64..7b5e27ee9b32b06d5da4a0cd5b90a2c0e87b74d1 100644 |
--- a/remoting/capturer/video_frame_capturer_helper.h |
+++ b/media/video/capture/screen/screen_capturer_helper.h |
@@ -2,23 +2,24 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_HELPER_H_ |
-#define REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_HELPER_H_ |
+#ifndef MEDIA_VIDEO_CAPTURE_SCREEN_SCREEN_CAPTURER_HELPER_H_ |
+#define MEDIA_VIDEO_CAPTURE_SCREEN_SCREEN_CAPTURER_HELPER_H_ |
#include "base/memory/scoped_ptr.h" |
#include "base/synchronization/lock.h" |
+#include "media/base/media_export.h" |
#include "third_party/skia/include/core/SkRegion.h" |
-namespace remoting { |
+namespace media { |
-// VideoFrameCapturerHelper is intended to be used by an implementation of the |
-// VideoFrameCapturer interface. It maintains a thread-safe invalid region, and |
+// ScreenCapturerHelper is intended to be used by an implementation of the |
+// ScreenCapturer interface. It maintains a thread-safe invalid region, and |
// the size of the most recently captured screen, on behalf of the |
-// VideoFrameCapturer that owns it. |
-class VideoFrameCapturerHelper { |
+// ScreenCapturer that owns it. |
+class MEDIA_EXPORT ScreenCapturerHelper { |
public: |
- VideoFrameCapturerHelper(); |
- ~VideoFrameCapturerHelper(); |
+ ScreenCapturerHelper(); |
+ ~ScreenCapturerHelper(); |
// Clear out the invalid region. |
void ClearInvalidRegion(); |
@@ -75,9 +76,9 @@ class VideoFrameCapturerHelper { |
// If the value is <= 0, then the invalid region is not expanded to a grid. |
int log_grid_size_; |
- DISALLOW_COPY_AND_ASSIGN(VideoFrameCapturerHelper); |
+ DISALLOW_COPY_AND_ASSIGN(ScreenCapturerHelper); |
}; |
-} // namespace remoting |
+} // namespace media |
-#endif // REMOTING_CAPTURER_VIDEO_FRAME_CAPTURER_HELPER_H_ |
+#endif // MEDIA_VIDEO_CAPTURE_SCREEN_SCREEN_CAPTURER_HELPER_H_ |