blob: bba738b5973377e54c2ccf18cb912c1bf3b53dd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright (c) 2010 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 "chrome/common/default_plugin.h"
#include "chrome/default_plugin/plugin_main.h"
#include "webkit/glue/plugins/plugin_list.h"
namespace chrome {
void RegisterInternalDefaultPlugin() {
const NPAPI::PluginVersionInfo default_plugin = {
FilePath(kDefaultPluginLibraryName),
L"Default Plug-in",
L"Provides functionality for installing third-party plug-ins",
L"1",
L"*",
L"",
L"",
{
#if !defined(OS_POSIX) || defined(OS_MACOSX)
default_plugin::NP_GetEntryPoints,
#endif
default_plugin::NP_Initialize,
default_plugin::NP_Shutdown
}
};
NPAPI::PluginList::Singleton()->RegisterInternalPlugin(default_plugin);
}
} // namespace chrome
|