OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/mock_plugin_exceptions_table_model.h" | 5 #include "chrome/browser/mock_plugin_exceptions_table_model.h" |
6 | 6 |
7 void MockPluginExceptionsTableModel::set_plugins( | 7 void MockPluginExceptionsTableModel::set_plugins( |
8 const NPAPI::PluginList::PluginMap& plugins) { | 8 std::vector<PluginGroup>& plugins) { |
9 plugins_ = plugins; | 9 plugins_ = plugins; |
10 } | 10 } |
11 | 11 |
12 void MockPluginExceptionsTableModel::GetPlugins( | 12 void MockPluginExceptionsTableModel::GetPlugins( |
13 NPAPI::PluginList::PluginMap* plugins) { | 13 std::vector<PluginGroup>* plugin_groups) { |
14 *plugins = plugins_; | 14 *plugin_groups = plugins_; |
15 } | 15 } |
OLD | NEW |