Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Side by Side Diff: content/common/plugin_list_posix.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/plugin_list_mac.mm ('k') | content/common/plugin_list_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #include "content/common/plugin_list.h"
6
7 namespace content {
8
9 bool PluginList::ReadWebPluginInfo(const base::FilePath& filename,
10 WebPluginInfo* info) {
11 return false;
12 }
13
14 void PluginList::GetPluginDirectories(
15 std::vector<base::FilePath>* plugin_dirs) {
16 }
17
18 void PluginList::GetPluginsInDir(const base::FilePath& dir_path,
19 std::vector<base::FilePath>* plugins) {
20 }
21
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 << ")";
27
28 if (info.type == WebPluginInfo::PLUGIN_TYPE_NPAPI) {
29 NOTREACHED() << "NPAPI plugins are not supported";
30 return false;
31 }
32
33 VLOG_IF(1, PluginList::DebugPluginLoading()) << "Using " << info.path.value();
34 return true;
35 }
36
37 } // namespace content
OLDNEW
« no previous file with comments | « content/common/plugin_list_mac.mm ('k') | content/common/plugin_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698