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

Unified Diff: content/common/android/surface_texture_peer.cc

Issue 10546079: Added sandboxed process service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync Created 8 years, 6 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 | « content/common/android/surface_texture_peer.h ('k') | content/content.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/android/surface_texture_peer.cc
diff --git a/content/common/android/surface_texture_peer.cc b/content/common/android/surface_texture_peer.cc
new file mode 100644
index 0000000000000000000000000000000000000000..78a18ee83a53ee7d8a73aafe0ae9e83f8df76ef1
--- /dev/null
+++ b/content/common/android/surface_texture_peer.cc
@@ -0,0 +1,33 @@
+// Copyright (c) 2011 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.
+
+#include "content/common/android/surface_texture_peer.h"
+
+#include "base/logging.h"
+
+namespace content {
+
+namespace {
+SurfaceTexturePeer* g_instance_ = NULL;
+} // namespace
+
+SurfaceTexturePeer::SurfaceTexturePeer() {
+}
+
+SurfaceTexturePeer::~SurfaceTexturePeer() {
+}
+
+// static
+SurfaceTexturePeer* SurfaceTexturePeer::GetInstance() {
+ DCHECK(g_instance_);
+ return g_instance_;
+}
+
+// static
+void SurfaceTexturePeer::InitInstance(SurfaceTexturePeer* instance) {
+ DCHECK(!g_instance_);
+ g_instance_ = instance;
+}
+
+} // namespace content
« no previous file with comments | « content/common/android/surface_texture_peer.h ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698