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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 bool FakePluginService::GetPluginInfoByPath(const base::FilePath& plugin_path, | 42 bool FakePluginService::GetPluginInfoByPath(const base::FilePath& plugin_path, |
43 WebPluginInfo* info) { | 43 WebPluginInfo* info) { |
44 return false; | 44 return false; |
45 } | 45 } |
46 | 46 |
47 base::string16 FakePluginService::GetPluginDisplayNameByPath( | 47 base::string16 FakePluginService::GetPluginDisplayNameByPath( |
48 const base::FilePath& path) { | 48 const base::FilePath& path) { |
49 return base::string16(); | 49 return base::string16(); |
50 } | 50 } |
51 | 51 |
52 void FakePluginService::GetPlugins(const GetPluginsCallback& callback) { | 52 void FakePluginService::GetPlugins(GetPluginsCallback callback) {} |
53 } | |
54 | 53 |
55 PepperPluginInfo* FakePluginService::GetRegisteredPpapiPluginInfo( | 54 PepperPluginInfo* FakePluginService::GetRegisteredPpapiPluginInfo( |
56 const base::FilePath& plugin_path) { | 55 const base::FilePath& plugin_path) { |
57 return nullptr; | 56 return nullptr; |
58 } | 57 } |
59 | 58 |
60 void FakePluginService::SetFilter(PluginServiceFilter* filter) { | 59 void FakePluginService::SetFilter(PluginServiceFilter* filter) { |
61 } | 60 } |
62 | 61 |
63 PluginServiceFilter* FakePluginService::GetFilter() { | 62 PluginServiceFilter* FakePluginService::GetFilter() { |
(...skipping 19 matching lines...) Expand all Loading... |
83 std::vector<WebPluginInfo>* plugins) { | 82 std::vector<WebPluginInfo>* plugins) { |
84 } | 83 } |
85 | 84 |
86 bool FakePluginService::PpapiDevChannelSupported( | 85 bool FakePluginService::PpapiDevChannelSupported( |
87 BrowserContext* browser_context, | 86 BrowserContext* browser_context, |
88 const GURL& document_url) { | 87 const GURL& document_url) { |
89 return false; | 88 return false; |
90 } | 89 } |
91 | 90 |
92 } // namespace content | 91 } // namespace content |
OLD | NEW |