Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: content/test/fake_plugin_service.cc

Issue 2378573005: [HBD] Blanket BLOCK on all non-HTTP(s) and non-FILE URLs for Flash. (Closed)
Patch Set: fix dat merge Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/fake_plugin_service.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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& main_frame_origin,
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
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
OLDNEW
« no previous file with comments | « content/test/fake_plugin_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698