summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_var_unittest.cc
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 04:51:14 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 04:51:14 +0000
commitd989cce292e1696f5bf26d0e0bdb64bdd0090168 (patch)
treeaf0deed23b5a9f3e637832a30fb3f8aa1808979e /ppapi/proxy/ppb_var_unittest.cc
parentf001bd6a14612d0d547539c5a7a3cf53f95e3816 (diff)
downloadchromium_src-d989cce292e1696f5bf26d0e0bdb64bdd0090168.zip
chromium_src-d989cce292e1696f5bf26d0e0bdb64bdd0090168.tar.gz
chromium_src-d989cce292e1696f5bf26d0e0bdb64bdd0090168.tar.bz2
Apply renaming of ppapi shared stuff to new ppb_var shared code.
This CL brings the PPB_Var new shared implementation (from r113491) in to compliance with the new naming convention introduced at r113428. I didn't want to do add any more complexity to that in-flight CL, so I'm doing the rename here. BUG=None TEST=N/A Review URL: http://codereview.chromium.org/8870002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113563 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_var_unittest.cc')
-rw-r--r--ppapi/proxy/ppb_var_unittest.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ppapi/proxy/ppb_var_unittest.cc b/ppapi/proxy/ppb_var_unittest.cc
index 6a6fbae..b573fdc 100644
--- a/ppapi/proxy/ppb_var_unittest.cc
+++ b/ppapi/proxy/ppb_var_unittest.cc
@@ -10,7 +10,7 @@
#include "ppapi/c/pp_var.h"
#include "ppapi/c/ppb_var.h"
#include "ppapi/proxy/ppapi_proxy_test.h"
-#include "ppapi/shared_impl/ppb_var_impl.h"
+#include "ppapi/shared_impl/ppb_var_shared.h"
namespace {
std::string VarToString(const PP_Var& var, const PPB_Var* ppb_var) {
@@ -30,7 +30,7 @@ class PPB_VarTest : public PluginProxyTest {
public:
PPB_VarTest()
: test_strings_(kNumStrings), vars_(kNumStrings),
- ppb_var_(ppapi::PPB_Var_Impl::GetVarInterface()) {
+ ppb_var_(ppapi::PPB_Var_Shared::GetVarInterface()) {
// Set the value of test_strings_[i] to "i".
for (size_t i = 0; i < kNumStrings; ++i)
test_strings_[i] = base::IntToString(i);
@@ -102,7 +102,7 @@ class CreateVarThreadDelegate : public base::PlatformThread::Delegate {
}
virtual ~CreateVarThreadDelegate() {}
virtual void ThreadMain() {
- const PPB_Var* ppb_var = ppapi::PPB_Var_Impl::GetVarInterface();
+ const PPB_Var* ppb_var = ppapi::PPB_Var_Shared::GetVarInterface();
for (size_t i = 0; i < size_; ++i) {
vars_out_[i] = ppb_var->VarFromUtf8(strings_in_[i].c_str(),
strings_in_[i].length());
@@ -125,7 +125,7 @@ class ChangeRefVarThreadDelegate : public base::PlatformThread::Delegate {
}
virtual ~ChangeRefVarThreadDelegate() {}
virtual void ThreadMain() {
- const PPB_Var* ppb_var = ppapi::PPB_Var_Impl::GetVarInterface();
+ const PPB_Var* ppb_var = ppapi::PPB_Var_Shared::GetVarInterface();
// Increment and decrement the reference count for each var kRefsToAdd
// times. Note that we always AddRef once before doing the matching Release,
// to ensure that we never accidentally release the last reference.
@@ -153,7 +153,7 @@ class RemoveRefVarThreadDelegate : public base::PlatformThread::Delegate {
}
virtual ~RemoveRefVarThreadDelegate() {}
virtual void ThreadMain() {
- const PPB_Var* ppb_var = ppapi::PPB_Var_Impl::GetVarInterface();
+ const PPB_Var* ppb_var = ppapi::PPB_Var_Shared::GetVarInterface();
for (size_t i = 0; i < kNumStrings; ++i) {
ppb_var->Release(vars_[i]);
}