Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Side by Side Diff: chrome/browser/mock_plugin_exceptions_table_model.cc

Issue 5516004: Clean up PluginGroup and related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/mock_plugin_exceptions_table_model.h" 5 #include "chrome/browser/mock_plugin_exceptions_table_model.h"
6 6
7 void MockPluginExceptionsTableModel::set_plugins( 7 void MockPluginExceptionsTableModel::set_plugins(
8 const NPAPI::PluginList::PluginMap& plugins) { 8 std::vector<PluginGroup>& plugins) {
9 plugins_ = plugins; 9 plugins_ = plugins;
10 } 10 }
11 11
12 void MockPluginExceptionsTableModel::GetPlugins( 12 void MockPluginExceptionsTableModel::GetPlugins(
13 NPAPI::PluginList::PluginMap* plugins) { 13 std::vector<PluginGroup>* plugin_groups) {
14 *plugins = plugins_; 14 *plugin_groups = plugins_;
15 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698