summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/plugin_var_tracker.h
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 08:15:39 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 08:15:39 +0000
commit2916256f6eac115c39af90cdf391b52419f8cb7c (patch)
tree4c87ce1e40f26e271766502a29d37a22ce83f89f /ppapi/proxy/plugin_var_tracker.h
parent3442a664129c54f09ec39ece7bfad7750aca1128 (diff)
downloadchromium_src-2916256f6eac115c39af90cdf391b52419f8cb7c.zip
chromium_src-2916256f6eac115c39af90cdf391b52419f8cb7c.tar.gz
chromium_src-2916256f6eac115c39af90cdf391b52419f8cb7c.tar.bz2
Make it possible to have 1 PpapiGlobals per thread. Update unit tests.
This allows us to distinguish trackers in the unit tests, instead of all vars/resources going in 1 tracker. This should also allow us to unit-test PPB proxies. BUG= TEST= Review URL: http://codereview.chromium.org/9034035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/plugin_var_tracker.h')
-rw-r--r--ppapi/proxy/plugin_var_tracker.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/ppapi/proxy/plugin_var_tracker.h b/ppapi/proxy/plugin_var_tracker.h
index c2ede10..cafb3ab 100644
--- a/ppapi/proxy/plugin_var_tracker.h
+++ b/ppapi/proxy/plugin_var_tracker.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -56,12 +56,6 @@ class PPAPI_PROXY_EXPORT PluginVarTracker : public VarTracker {
void ReleaseHostObject(PluginDispatcher* dispatcher,
const PP_Var& host_object);
- // Retrieves the internal reference counts for testing. Returns 0 if we
- // know about the object but the corresponding value is 0, or -1 if the
- // given object ID isn't in our map.
- int GetRefCountForObject(const PP_Var& plugin_object);
- int GetTrackedWithNoReferenceCountForObject(const PP_Var& plugin_object);
-
private:
// VarTracker protected overrides.
virtual int32 AddVarInternal(Var* var, AddVarRefMode mode) OVERRIDE;