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

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

Issue 12388038: Android: Remove Surface cruft (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
index 9dd1c59d992bb41676cb8b545ef24a2371482f56..61d7d5ce2a09fffbd1e9e49278c96daa408f9073 100644
--- a/content/browser/android/surface_texture_peer_browser_impl.h
+++ b/content/browser/android/surface_texture_peer_browser_impl.h
@@ -19,7 +19,7 @@ class SurfaceTexturePeerBrowserImpl : public SurfaceTexturePeer {
// will send the java surface texture object to the render process through
// SandboxedProcessService. Otherwise, it will pass the surface texture
// to the MediaPlayerBridge object in the browser process.
- explicit SurfaceTexturePeerBrowserImpl(bool player_in_render_process);
+ explicit SurfaceTexturePeerBrowserImpl();
bulach 2013/03/01 11:38:24 nit: s/explicit//
no sievers 2013/03/01 22:29:12 Done.
virtual ~SurfaceTexturePeerBrowserImpl();
// SurfaceTexturePeer implementation.
@@ -30,14 +30,7 @@ class SurfaceTexturePeerBrowserImpl : public SurfaceTexturePeer {
int render_view_id,
int player_id) OVERRIDE;
- static bool RegisterBrowserProcessSurfaceTexture(JNIEnv* env);
-
private:
- // Whether the media player is in render process.
- bool player_in_render_process_;
-
- base::android::ScopedJavaGlobalRef<jobject> surface_;
-
DISALLOW_COPY_AND_ASSIGN(SurfaceTexturePeerBrowserImpl);
};

Powered by Google App Engine
This is Rietveld 408576698