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

Unified Diff: ppapi/proxy/plugin_resource.cc

Issue 7629017: Add a unified resource tracker shared between the proxy and the impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 9 years, 4 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: ppapi/proxy/plugin_resource.cc
diff --git a/ppapi/proxy/plugin_resource.cc b/ppapi/proxy/plugin_resource.cc
deleted file mode 100644
index e9f3b758d52b7c3fb15866e44d0722cdafc35805..0000000000000000000000000000000000000000
--- a/ppapi/proxy/plugin_resource.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// 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 "ppapi/proxy/plugin_resource.h"
-
-using ppapi::HostResource;
-
-namespace pp {
-namespace proxy {
-
-PluginResource::PluginResource(const HostResource& resource)
- : ResourceObjectBase(resource.instance()),
- host_resource_(resource) {
-}
-
-PluginResource::~PluginResource() {
-}
-
-PluginDispatcher* PluginResource::GetDispatcher() {
- PluginDispatcher* disp = PluginDispatcher::GetForInstance(instance());
- CHECK(disp);
- return disp;
-}
-
-} // namespace proxy
-} // namespace pp

Powered by Google App Engine
This is Rietveld 408576698