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

void MockPluginExceptionsTableModel::set_plugins(
    const NPAPI::PluginList::PluginMap& plugins) {
  plugins_ = plugins;
}

void MockPluginExceptionsTableModel::GetPlugins(
    NPAPI::PluginList::PluginMap* plugins) {
  *plugins = plugins_;
}