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

Unified Diff: content/browser/android/surface_texture_peer_browser_impl.h

Issue 634643002: content: Out-of-process GPU service support for SurfaceTexture backed GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one last build fix Created 6 years, 2 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: content/browser/android/surface_texture_peer_browser_impl.h
diff --git a/content/browser/android/surface_texture_peer_browser_impl.h b/content/browser/android/surface_texture_peer_browser_impl.h
deleted file mode 100644
index bfa94d6e652109a1ccedbcc8751890e01f0a09c7..0000000000000000000000000000000000000000
--- a/content/browser/android/surface_texture_peer_browser_impl.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_
-#define CONTENT_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_
-
-#include "base/compiler_specific.h"
-#include "content/common/android/surface_texture_peer.h"
-
-namespace content {
-
-// The SurfaceTexturePeer implementation for browser process.
-class SurfaceTexturePeerBrowserImpl : public SurfaceTexturePeer {
- public:
- // Construct a SurfaceTexturePeerBrowserImpl object. If
- // |player_in_render_process| is true, calling EstablishSurfaceTexturePeer()
- // will send the java surface texture object to the render process through
- // ChildProcessService. Otherwise, it will pass the surface texture
- // to the MediaPlayerBridge object in the browser process.
- SurfaceTexturePeerBrowserImpl();
- virtual ~SurfaceTexturePeerBrowserImpl();
-
- // SurfaceTexturePeer implementation.
- virtual void EstablishSurfaceTexturePeer(
- base::ProcessHandle render_process_handle,
- scoped_refptr<gfx::SurfaceTexture> surface_texture,
- int render_frame_id,
- int player_id) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SurfaceTexturePeerBrowserImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_ANDROID_SURFACE_TEXTURE_PEER_BROWSER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698