| Index: chrome/browser/mock_plugin_exceptions_table_model.cc
|
| diff --git a/chrome/browser/mock_plugin_exceptions_table_model.cc b/chrome/browser/mock_plugin_exceptions_table_model.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d74dfa0e85208e3c952381505007e6f3f71291e3
|
| --- /dev/null
|
| +++ b/chrome/browser/mock_plugin_exceptions_table_model.cc
|
| @@ -0,0 +1,17 @@
|
| +// Copyright (c) 2010 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 "chrome/browser/mock_plugin_exceptions_table_model.h"
|
| +
|
| +#include "webkit/glue/plugins/webplugininfo.h"
|
| +
|
| +void MockPluginExceptionsTableModel::set_plugins(
|
| + const std::vector<WebPluginInfo>& plugins) {
|
| + plugins_ = plugins;
|
| +}
|
| +
|
| +void MockPluginExceptionsTableModel::GetPlugins(
|
| + std::vector<WebPluginInfo>* plugins) {
|
| + *plugins = plugins_;
|
| +}
|
|
|