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