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

Unified Diff: media/video/capture/screen/linux/x_server_pixel_buffer.cc

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
Index: media/video/capture/screen/linux/x_server_pixel_buffer.cc
diff --git a/remoting/capturer/linux/x_server_pixel_buffer.cc b/media/video/capture/screen/linux/x_server_pixel_buffer.cc
similarity index 98%
rename from remoting/capturer/linux/x_server_pixel_buffer.cc
rename to media/video/capture/screen/linux/x_server_pixel_buffer.cc
index c495cbc6fc295831846608ff3fc57e269eb97050..99d454cea86de5840bb07e305444913887e3efc9 100644
--- a/remoting/capturer/linux/x_server_pixel_buffer.cc
+++ b/media/video/capture/screen/linux/x_server_pixel_buffer.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/capturer/linux/x_server_pixel_buffer.h"
+#include "media/video/capture/screen/linux/x_server_pixel_buffer.h"
#include <sys/shm.h>
@@ -56,7 +56,7 @@ int GetLastXServerError() {
} // namespace
-namespace remoting {
+namespace media {
XServerPixelBuffer::XServerPixelBuffer()
: display_(NULL), root_window_(0),
@@ -272,4 +272,4 @@ bool XServerPixelBuffer::IsRgb() const {
return GetRedShift() == 16 && GetGreenShift() == 8 && GetBlueShift() == 0;
}
-} // namespace remoting
+} // namespace media
« no previous file with comments | « media/video/capture/screen/linux/x_server_pixel_buffer.h ('k') | media/video/capture/screen/mac/desktop_configuration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698