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

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

Issue 2873963005: Use PostTaskAndReplyWithResult in plugin_service_impl.cc. (Closed)
Patch Set: Created 3 years, 7 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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