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 11 matching lines...) Expand all Loading... |
22 bool allow_wildcard, | 22 bool allow_wildcard, |
23 std::vector<WebPluginInfo>* plugins, | 23 std::vector<WebPluginInfo>* plugins, |
24 std::vector<std::string>* actual_mime_types) { | 24 std::vector<std::string>* actual_mime_types) { |
25 return false; | 25 return false; |
26 } | 26 } |
27 | 27 |
28 bool FakePluginService::GetPluginInfo(int render_process_id, | 28 bool FakePluginService::GetPluginInfo(int render_process_id, |
29 int render_frame_id, | 29 int render_frame_id, |
30 ResourceContext* context, | 30 ResourceContext* context, |
31 const GURL& url, | 31 const GURL& url, |
32 const GURL& page_url, | 32 const url::Origin& page_url, |
33 const std::string& mime_type, | 33 const std::string& mime_type, |
34 bool allow_wildcard, | 34 bool allow_wildcard, |
35 bool* is_stale, | 35 bool* is_stale, |
36 WebPluginInfo* info, | 36 WebPluginInfo* info, |
37 std::string* actual_mime_type) { | 37 std::string* actual_mime_type) { |
38 *is_stale = false; | 38 *is_stale = false; |
39 return false; | 39 return false; |
40 } | 40 } |
41 | 41 |
42 bool FakePluginService::GetPluginInfoByPath(const base::FilePath& plugin_path, | 42 bool FakePluginService::GetPluginInfoByPath(const base::FilePath& plugin_path, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 std::vector<WebPluginInfo>* plugins) { | 83 std::vector<WebPluginInfo>* plugins) { |
84 } | 84 } |
85 | 85 |
86 bool FakePluginService::PpapiDevChannelSupported( | 86 bool FakePluginService::PpapiDevChannelSupported( |
87 BrowserContext* browser_context, | 87 BrowserContext* browser_context, |
88 const GURL& document_url) { | 88 const GURL& document_url) { |
89 return false; | 89 return false; |
90 } | 90 } |
91 | 91 |
92 } // namespace content | 92 } // namespace content |
OLD | NEW |