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

Unified Diff: media/gpu/shared_memory_region.h

Issue 1939683002: Test X11 header pollution (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/gpu/rendering_helper.cc ('k') | media/gpu/shared_memory_region.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/shared_memory_region.h
diff --git a/content/common/gpu/media/shared_memory_region.h b/media/gpu/shared_memory_region.h
similarity index 89%
rename from content/common/gpu/media/shared_memory_region.h
rename to media/gpu/shared_memory_region.h
index f7c5db299828ba1190baa39f9d93327417413f5c..2ca11d7e9032cfdbf8b8dd01ad4dc212fddebb0c 100644
--- a/content/common/gpu/media/shared_memory_region.h
+++ b/media/gpu/shared_memory_region.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_GPU_MEDIA_SHARED_MEMORY_REGION_H_
-#define CONTENT_COMMON_GPU_MEDIA_SHARED_MEMORY_REGION_H_
+#ifndef MEDIA_GPU_SHARED_MEMORY_REGION_H_
+#define MEDIA_GPU_SHARED_MEMORY_REGION_H_
#include "base/memory/shared_memory.h"
#include "media/base/bitstream_buffer.h"
-namespace content {
+namespace media {
// Helper class to access a region of a SharedMemory. Different from
// SharedMemory, in which the |offset| of function MapAt() must be aligned to
@@ -52,6 +52,6 @@ class SharedMemoryRegion {
DISALLOW_COPY_AND_ASSIGN(SharedMemoryRegion);
};
-} // namespace content
+} // namespace media
-#endif // CONTENT_COMMON_GPU_MEDIA_SHARED_MEMORY_REGION_H_
+#endif // MEDIA_GPU_SHARED_MEMORY_REGION_H_
« no previous file with comments | « media/gpu/rendering_helper.cc ('k') | media/gpu/shared_memory_region.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698