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

Side by Side Diff: content/test/fake_plugin_service.cc

Issue 1158423003: Disable NPAPI support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unneeded function declaration Created 5 years, 6 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/test/fake_plugin_service.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/test/fake_plugin_service.h" 5 #include "content/test/fake_plugin_service.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 FakePluginService::FakePluginService() { 9 FakePluginService::FakePluginService() {
10 } 10 }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 94 }
95 95
96 void FakePluginService::GetInternalPlugins( 96 void FakePluginService::GetInternalPlugins(
97 std::vector<WebPluginInfo>* plugins) { 97 std::vector<WebPluginInfo>* plugins) {
98 } 98 }
99 99
100 bool FakePluginService::NPAPIPluginsSupported() { 100 bool FakePluginService::NPAPIPluginsSupported() {
101 return false; 101 return false;
102 } 102 }
103 103
104 void FakePluginService::EnableNpapiPlugins() {
105 }
106
107 void FakePluginService::DisablePluginsDiscoveryForTesting() { 104 void FakePluginService::DisablePluginsDiscoveryForTesting() {
108 } 105 }
109 106
110 #if defined(OS_MACOSX) 107 #if defined(OS_MACOSX)
111 void FakePluginService::AppActivated() { 108 void FakePluginService::AppActivated() {
112 } 109 }
113 #elif defined(OS_WIN) 110 #elif defined(OS_WIN)
114 bool FakePluginService::GetPluginInfoFromWindow( 111 bool FakePluginService::GetPluginInfoFromWindow(
115 HWND window, 112 HWND window,
116 base::string16* plugin_name, 113 base::string16* plugin_name,
117 base::string16* plugin_version) { 114 base::string16* plugin_version) {
118 return false; 115 return false;
119 } 116 }
120 #endif 117 #endif
121 118
122 bool FakePluginService::PpapiDevChannelSupported( 119 bool FakePluginService::PpapiDevChannelSupported(
123 BrowserContext* browser_context, 120 BrowserContext* browser_context,
124 const GURL& document_url) { 121 const GURL& document_url) {
125 return false; 122 return false;
126 } 123 }
127 124
128 } // namespace content 125 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_plugin_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698