1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef WEBKIT_GLUE_PLUGINS_PLUGIN_LIST_H_ 6 #define WEBKIT_GLUE_PLUGINS_PLUGIN_LIST_H_ 7 8 // This file is here to keep NativeClient compiling. PluginList was moved to 9 // webkit/plugins/npapi and into the webkit::npapi namespace. Native Client 10 // depends on this old location & namespace, so we provide just enough 11 // definitions here to keep it compiling until it can be updated to use the 12 // new location & namespace. 13 // 14 // TODO(brettw) remove this flie when NaCl is updated. 15 16 #include "webkit/plugins/npapi/plugin_list.h" 17 18 namespace NPAPI { 19 20 typedef webkit::npapi::PluginEntryPoints PluginEntryPoints; 21 22 class PluginList { 23 public: 24 static inline webkit::npapi::PluginList* Singleton() { 25 return webkit::npapi::PluginList::Singleton(); 26 } 27 }; 28 29 } // namespace NPAPI 30 31 #endif // WEBKIT_GLUE_PLUGINS_PLUGIN_LIST_H_ 32