blob: 624b85bfee2c0f4571ff97d2b335c7c6c7917ff6 [file] [log] [blame]
// 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/shared_impl/test_globals.h"
namespace ppapi {
TestGlobals::TestGlobals() : ppapi::PpapiGlobals() {
}
TestGlobals::~TestGlobals() {
}
ResourceTracker* TestGlobals::GetResourceTracker() {
return &resource_tracker_;
}
VarTracker* TestGlobals::GetVarTracker() {
return &var_tracker_;
}
FunctionGroupBase* TestGlobals::GetFunctionAPI(PP_Instance inst, ApiID id) {
return NULL;
}
PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) {
return 0;
}
} // namespace ppapi