| Index: chrome/browser/mock_plugin_exceptions_table_model.h
|
| diff --git a/chrome/browser/mock_plugin_exceptions_table_model.h b/chrome/browser/mock_plugin_exceptions_table_model.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4cedcd3796a3e923c362b42a16a8fab14123eca7
|
| --- /dev/null
|
| +++ b/chrome/browser/mock_plugin_exceptions_table_model.h
|
| @@ -0,0 +1,29 @@
|
| +// 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.
|
| +
|
| +#ifndef CHROME_BROWSER_MOCK_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
|
| +#define CHROME_BROWSER_MOCK_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
|
| +#pragma once
|
| +
|
| +#include <vector>
|
| +
|
| +#include "chrome/browser/plugin_exceptions_table_model.h"
|
| +
|
| +class MockPluginExceptionsTableModel : public PluginExceptionsTableModel {
|
| + public:
|
| + MockPluginExceptionsTableModel(HostContentSettingsMap* map,
|
| + HostContentSettingsMap* otr_map)
|
| + : PluginExceptionsTableModel(map, otr_map) {}
|
| + virtual ~MockPluginExceptionsTableModel() {}
|
| +
|
| + void set_plugins(const std::vector<WebPluginInfo>& plugins);
|
| +
|
| + protected:
|
| + virtual void GetPlugins(std::vector<WebPluginInfo>* plugins);
|
| +
|
| + private:
|
| + std::vector<WebPluginInfo> plugins_;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_MOCK_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
|
|
|