Index: webkit/plugins/npapi/mock_plugin_list.cc |
=================================================================== |
--- webkit/plugins/npapi/mock_plugin_list.cc (revision 212185) |
+++ webkit/plugins/npapi/mock_plugin_list.cc (working copy) |
@@ -1,38 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "webkit/plugins/npapi/mock_plugin_list.h" |
- |
-namespace webkit { |
-namespace npapi { |
- |
-MockPluginList::MockPluginList() { |
-} |
- |
-MockPluginList::~MockPluginList() { |
-} |
- |
-void MockPluginList::AddPluginToLoad(const WebPluginInfo& plugin) { |
- plugins_to_load_.push_back(plugin); |
-} |
- |
-void MockPluginList::ClearPluginsToLoad() { |
- plugins_to_load_.clear(); |
-} |
- |
-bool MockPluginList::GetPluginsNoRefresh( |
- std::vector<webkit::WebPluginInfo>* plugins) { |
- GetPlugins(plugins); |
- return true; |
-} |
- |
-void MockPluginList::LoadPluginsIntoPluginListInternal( |
- std::vector<webkit::WebPluginInfo>* plugins) { |
- for (size_t i = 0; i < plugins_to_load_.size(); ++i) { |
- plugins->push_back(plugins_to_load_[i]); |
- } |
-} |
- |
-} // npapi |
-} // webkit |