Add ICU message format support
[chromium-blink-merge.git] / content / common / plugin_list_posix.cc
blob122fd59be42fe2dd497fe31f3939b93266ae6f6a
1 // Copyright (c) 2011 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.
5 #include "content/common/plugin_list.h"
7 namespace content {
9 bool PluginList::ReadWebPluginInfo(const base::FilePath& filename,
10 WebPluginInfo* info) {
11 return false;
14 void PluginList::GetPluginDirectories(
15 std::vector<base::FilePath>* plugin_dirs) {
18 void PluginList::GetPluginsInDir(const base::FilePath& dir_path,
19 std::vector<base::FilePath>* plugins) {
22 bool PluginList::ShouldLoadPluginUsingPluginList(
23 const WebPluginInfo& info,
24 std::vector<WebPluginInfo>* plugins) {
25 LOG_IF(ERROR, PluginList::DebugPluginLoading())
26 << "Considering " << info.path.value() << " (" << info.name << ")";
28 if (info.type == WebPluginInfo::PLUGIN_TYPE_NPAPI) {
29 NOTREACHED() << "NPAPI plugins are not supported";
30 return false;
33 VLOG_IF(1, PluginList::DebugPluginLoading()) << "Using " << info.path.value();
34 return true;
37 } // namespace content