diff options
Diffstat (limited to 'ppapi/shared_impl/test_globals.cc')
-rw-r--r-- | ppapi/shared_impl/test_globals.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ppapi/shared_impl/test_globals.cc b/ppapi/shared_impl/test_globals.cc index e870e5c..f661998 100644 --- a/ppapi/shared_impl/test_globals.cc +++ b/ppapi/shared_impl/test_globals.cc @@ -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. @@ -11,6 +11,11 @@ TestGlobals::TestGlobals() callback_tracker_(new CallbackTracker) { } +TestGlobals::TestGlobals(PpapiGlobals::ForTest for_test) + : ppapi::PpapiGlobals(for_test), + callback_tracker_(new CallbackTracker) { +} + TestGlobals::~TestGlobals() { } @@ -35,4 +40,8 @@ PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) { return 0; } +base::Lock* TestGlobals::GetProxyLock() { + return NULL; +} + } // namespace ppapi |