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

Unified Diff: content/browser/loader/buffered_resource_handler.cc

Issue 11507017: Add PluginServiceStub for builds with enable_plugins==0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/gtest_filter/unit_tests_disabled ('k') | content/browser/plugin_service_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/buffered_resource_handler.cc
diff --git a/content/browser/loader/buffered_resource_handler.cc b/content/browser/loader/buffered_resource_handler.cc
index d588601214637fb5d1d465184aad908a56389e63..d84e657f236790b209f693c57f98b8aa71588f4b 100644
--- a/content/browser/loader/buffered_resource_handler.cc
+++ b/content/browser/loader/buffered_resource_handler.cc
@@ -323,7 +323,7 @@ bool BufferedResourceHandler::SelectNextHandler(bool* defer) {
bool has_plugin = HasSupportingPlugin(&stale);
if (stale) {
// Refresh the plugins asynchronously.
- PluginServiceImpl::GetInstance()->GetPlugins(
+ PluginService::GetInstance()->GetPlugins(
base::Bind(&BufferedResourceHandler::OnPluginsLoaded,
weak_ptr_factory_.GetWeakPtr()));
*defer = true;
@@ -429,7 +429,7 @@ bool BufferedResourceHandler::HasSupportingPlugin(bool* stale) {
bool allow_wildcard = false;
webkit::WebPluginInfo plugin;
- return PluginServiceImpl::GetInstance()->GetPluginInfo(
+ return PluginService::GetInstance()->GetPluginInfo(
info->GetChildID(), info->GetRouteID(), info->GetContext(),
request_->url(), GURL(), response_->head.mime_type, allow_wildcard,
stale, &plugin, NULL);
« no previous file with comments | « build/android/gtest_filter/unit_tests_disabled ('k') | content/browser/plugin_service_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698