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

Unified Diff: src/shared/ppapi_proxy/plugin_resource.cc

Issue 7395005: Proxy PPB_Input_Event, PPP_Input_Event, and associated IFs. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: copyright headers Created 9 years, 5 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 | « src/shared/ppapi_proxy/plugin_resource.h ('k') | src/shared/ppapi_proxy/plugin_resource_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/plugin_resource.cc
diff --git a/src/shared/ppapi_proxy/plugin_resource.cc b/src/shared/ppapi_proxy/plugin_resource.cc
index 0f26216fd304740bc23778f3ff4d4157b9a7d75b..36598ba6cce97733eb2241b29e2721f865b81417 100644
--- a/src/shared/ppapi_proxy/plugin_resource.cc
+++ b/src/shared/ppapi_proxy/plugin_resource.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Native Client Authors. All rights reserved.
+// Copyright (c) 2011 The Native Client Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,21 +6,11 @@
namespace ppapi_proxy {
-PluginResource::PluginResource()
- : resource_id_(0) {
+PluginResource::PluginResource() {
}
PluginResource::~PluginResource() {
}
-PP_Resource PluginResource::GetReference() {
- PluginResourceTracker::Get()->AddRefResource(resource_id_);
- return resource_id_;
-}
-
-void PluginResource::StoppedTracking() {
- resource_id_ = 0;
-}
-
} // namespace ppapi_proxy
« no previous file with comments | « src/shared/ppapi_proxy/plugin_resource.h ('k') | src/shared/ppapi_proxy/plugin_resource_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698