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 19:38:55 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 19:38:55 +0000
commit73097564b57bad21efbb72e49a0edf0d13e9c249 (patch)
tree3f0e4f402f6fc1252765260241199519a94ce5e3 /ppapi/proxy/plugin_var_tracker.h
parenta21d8087f7ca0a8ccf2d07344b7dcfa34d455886 (diff)
downloadchromium_src-73097564b57bad21efbb72e49a0edf0d13e9c249.zip
chromium_src-73097564b57bad21efbb72e49a0edf0d13e9c249.tar.gz
chromium_src-73097564b57bad21efbb72e49a0edf0d13e9c249.tar.bz2
Reland 9034035: Make it possible to have 1 PpapiGlobals per thread.
Original CL: r117399, http://codereview.chromium.org/9034035/ Reverted in r117414, http://codereview.chromium.org/9139054/ due to a static initializer. This is the same as r117399 except using a LazyInstance to eliminate the static initializer. BUG= TEST= TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/9187055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117475 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;