// Copyright (c) 2006-2008 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 "o3d/gpu_plugin/gpu_plugin_object.h" #include "o3d/gpu_plugin/gpu_plugin_object_factory.h" #include "o3d/gpu_plugin/np_utils/np_utils.h" namespace o3d { namespace gpu_plugin { GPUPluginObjectFactory::GPUPluginObjectFactory() { } GPUPluginObjectFactory::~GPUPluginObjectFactory() { } PluginObject* GPUPluginObjectFactory::CreatePluginObject( NPP npp, NPMIMEType plugin_type) { if (strcmp(plugin_type, GPUPluginObject::kPluginType) == 0) { return NPCreateObject(npp).ToReturned(); } return NULL; } } // namespace gpu_plugin } // namespace o3d