summaryrefslogtreecommitdiffstats
path: root/chrome/browser/mock_plugin_exceptions_table_model.cc
blob: d74dfa0e85208e3c952381505007e6f3f71291e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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_;
}