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

Unified Diff: media/video/capture/screen/differ.h

Issue 12047101: Move screen capturers from remoting/capturer to media/video/capturer/screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « media/video/capture/screen/OWNERS ('k') | media/video/capture/screen/differ.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/screen/differ.h
diff --git a/remoting/capturer/differ.h b/media/video/capture/screen/differ.h
similarity index 90%
rename from remoting/capturer/differ.h
rename to media/video/capture/screen/differ.h
index 469384c470e2b90300400e2a805093d08ae2435f..898c27d2d46e423bbd987771286ab2aba55df7d8 100644
--- a/remoting/capturer/differ.h
+++ b/media/video/capture/screen/differ.h
@@ -2,16 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_CAPTURER_DIFFER_H_
-#define REMOTING_CAPTURER_DIFFER_H_
+#ifndef MEDIA_VIDEO_CAPTURE_SCREEN_DIFFER_H_
+#define MEDIA_VIDEO_CAPTURE_SCREEN_DIFFER_H_
#include <vector>
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
+#include "media/base/media_export.h"
#include "third_party/skia/include/core/SkRegion.h"
-namespace remoting {
+namespace media {
typedef uint8 DiffInfo;
@@ -20,8 +21,8 @@ typedef uint8 DiffInfo;
// the region that we are calculating.
// http://crbug.com/92379
// TODO(sergeyu): Rename this class to something more sensible, e.g.
-// VideoFrameDifferencer.
-class Differ {
+// ScreenCaptureFrameDifferencer.
+class MEDIA_EXPORT Differ {
public:
// Create a differ that operates on bitmaps with the specified width, height
// and bytes_per_pixel.
@@ -79,6 +80,6 @@ class Differ {
DISALLOW_COPY_AND_ASSIGN(Differ);
};
-} // namespace remoting
+} // namespace media
-#endif // REMOTING_CAPTURER_DIFFER_H_
+#endif // MEDIA_VIDEO_CAPTURE_SCREEN_DIFFER_H_
« no previous file with comments | « media/video/capture/screen/OWNERS ('k') | media/video/capture/screen/differ.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698