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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/test/fake_plugin_service.h" | 6 #include "content/test/fake_plugin_service.h" |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 | 9 |
10 FakePluginService::FakePluginService() { | 10 FakePluginService::FakePluginService() { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 bool FakePluginService::NPAPIPluginsSupported() { | 101 bool FakePluginService::NPAPIPluginsSupported() { |
102 return false; | 102 return false; |
103 } | 103 } |
104 | 104 |
105 void FakePluginService::DisablePluginsDiscoveryForTesting() { | 105 void FakePluginService::DisablePluginsDiscoveryForTesting() { |
106 } | 106 } |
107 | 107 |
108 #if defined(OS_MACOSX) | 108 #if defined(OS_MACOSX) |
109 void FakePluginService::AppActivated() { | 109 void FakePluginService::AppActivated() { |
110 } | 110 } |
111 #elif defined(OS_WIN) | |
112 bool FakePluginService::GetPluginInfoFromWindow( | |
113 HWND window, | |
114 base::string16* plugin_name, | |
115 base::string16* plugin_version) { | |
116 return false; | |
117 } | |
118 #endif | 111 #endif |
119 | 112 |
120 bool FakePluginService::PpapiDevChannelSupported( | 113 bool FakePluginService::PpapiDevChannelSupported( |
121 BrowserContext* browser_context, | 114 BrowserContext* browser_context, |
122 const GURL& document_url) { | 115 const GURL& document_url) { |
123 return false; | 116 return false; |
124 } | 117 } |
125 | 118 |
126 } // namespace content | 119 } // namespace content |
OLD | NEW |