OLD | NEW |
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 Loading... |
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::EnableNpapiPluginsForTesting() { |
| 105 } |
| 106 |
104 void FakePluginService::DisablePluginsDiscoveryForTesting() { | 107 void FakePluginService::DisablePluginsDiscoveryForTesting() { |
105 } | 108 } |
106 | 109 |
107 #if defined(OS_MACOSX) | 110 #if defined(OS_MACOSX) |
108 void FakePluginService::AppActivated() { | 111 void FakePluginService::AppActivated() { |
109 } | 112 } |
110 #elif defined(OS_WIN) | 113 #elif defined(OS_WIN) |
111 bool FakePluginService::GetPluginInfoFromWindow( | 114 bool FakePluginService::GetPluginInfoFromWindow( |
112 HWND window, | 115 HWND window, |
113 base::string16* plugin_name, | 116 base::string16* plugin_name, |
114 base::string16* plugin_version) { | 117 base::string16* plugin_version) { |
115 return false; | 118 return false; |
116 } | 119 } |
117 #endif | 120 #endif |
118 | 121 |
119 bool FakePluginService::PpapiDevChannelSupported( | 122 bool FakePluginService::PpapiDevChannelSupported( |
120 BrowserContext* browser_context, | 123 BrowserContext* browser_context, |
121 const GURL& document_url) { | 124 const GURL& document_url) { |
122 return false; | 125 return false; |
123 } | 126 } |
124 | 127 |
125 } // namespace content | 128 } // namespace content |
OLD | NEW |