OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/mock_plugin_exceptions_table_model.h" | |
6 | |
7 MockPluginExceptionsTableModel::MockPluginExceptionsTableModel( | |
8 HostContentSettingsMap* map, | |
9 HostContentSettingsMap* otr_map) | |
10 : PluginExceptionsTableModel(map, otr_map) {} | |
11 | |
12 MockPluginExceptionsTableModel::~MockPluginExceptionsTableModel() {} | |
13 | |
14 void MockPluginExceptionsTableModel::set_plugins( | |
15 std::vector<webkit::npapi::PluginGroup>& plugins) { | |
16 plugins_ = plugins; | |
17 } | |
18 | |
19 void MockPluginExceptionsTableModel::GetPlugins( | |
20 std::vector<webkit::npapi::PluginGroup>* plugin_groups) { | |
21 *plugin_groups = plugins_; | |
22 } | |
OLD | NEW |