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

Unified Diff: media/gpu/avda_surface_tracker.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/avda_state_provider.h ('k') | media/gpu/avda_surface_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/avda_surface_tracker.h
diff --git a/content/common/gpu/media/avda_surface_tracker.h b/media/gpu/avda_surface_tracker.h
similarity index 83%
rename from content/common/gpu/media/avda_surface_tracker.h
rename to media/gpu/avda_surface_tracker.h
index b1d5258d648536c37c2ae63fe9f7979532710cac..0f35ff6663cd5dff4627ac3265a21311ced8eabc 100644
--- a/content/common/gpu/media/avda_surface_tracker.h
+++ b/media/gpu/avda_surface_tracker.h
@@ -2,16 +2,16 @@
// 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_AVDA_SURFACE_TRACKER_H_
-#define CONTENT_COMMON_GPU_MEDIA_AVDA_SURFACE_TRACKER_H_
+#ifndef MEDIA_GPU_AVDA_SURFACE_TRACKER_H_
+#define MEDIA_GPU_AVDA_SURFACE_TRACKER_H_
#include <vector>
#include "base/callback.h"
#include "base/threading/thread_checker.h"
-#include "content/common/content_export.h"
+#include "media/gpu/media_gpu_export.h"
-namespace content {
+namespace media {
using OnDestroyingSurfaceCallback = base::Callback<void(int)>;
@@ -22,7 +22,7 @@ using OnDestroyingSurfaceCallback = base::Callback<void(int)>;
// onSurfaceDestroyed().
// This is not thread safe. All access should be on the gpu main thread.
// Callbacks will be run on the same thread.
-class AVDASurfaceTracker {
+class MEDIA_GPU_EXPORT AVDASurfaceTracker {
public:
AVDASurfaceTracker();
~AVDASurfaceTracker();
@@ -47,6 +47,6 @@ class AVDASurfaceTracker {
DISALLOW_COPY_AND_ASSIGN(AVDASurfaceTracker);
};
-} // namespace content
+} // namespace media
-#endif // CONTENT_COMMON_GPU_MEDIA_AVDA_SURFACE_TRACKER_H_
+#endif // MEDIA_GPU_AVDA_SURFACE_TRACKER_H_
« no previous file with comments | « media/gpu/avda_state_provider.h ('k') | media/gpu/avda_surface_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698