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

Side by Side Diff: content/browser/plugin_service_impl.cc

Issue 11141011: Merge 161210 - Only register the newer one of {bundled, component} Pepper Flash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/plugin_service_impl.h" 5 #include "content/browser/plugin_service_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 void PluginServiceImpl::RegisterInternalPlugin( 729 void PluginServiceImpl::RegisterInternalPlugin(
730 const webkit::WebPluginInfo& info, 730 const webkit::WebPluginInfo& info,
731 bool add_at_beginning) { 731 bool add_at_beginning) {
732 plugin_list_->RegisterInternalPlugin(info, add_at_beginning); 732 plugin_list_->RegisterInternalPlugin(info, add_at_beginning);
733 } 733 }
734 734
735 string16 PluginServiceImpl::GetPluginGroupName(const std::string& plugin_name) { 735 string16 PluginServiceImpl::GetPluginGroupName(const std::string& plugin_name) {
736 return plugin_list_->GetPluginGroupName(plugin_name); 736 return plugin_list_->GetPluginGroupName(plugin_name);
737 } 737 }
738 738
739 void PluginServiceImpl::GetInternalPlugins(
740 std::vector<webkit::WebPluginInfo>* plugins) {
741 plugin_list_->GetInternalPlugins(plugins);
742 }
743
739 webkit::npapi::PluginList* PluginServiceImpl::GetPluginList() { 744 webkit::npapi::PluginList* PluginServiceImpl::GetPluginList() {
740 return plugin_list_; 745 return plugin_list_;
741 } 746 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698