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

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

Issue 7977042: Get rid of synchronous calls to getting plugins to help with http://codereview.chromium.org/79800... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_MOCK_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
6 #define CHROME_BROWSER_MOCK_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
7 #pragma once
8
9 #include <vector>
10
11 #include "chrome/browser/plugin_exceptions_table_model.h"
12
13 class MockPluginExceptionsTableModel : public PluginExceptionsTableModel {
14 public:
15 MockPluginExceptionsTableModel(HostContentSettingsMap* map,
16 HostContentSettingsMap* otr_map);
17 virtual ~MockPluginExceptionsTableModel();
18
19 void set_plugins(std::vector<webkit::npapi::PluginGroup>& plugins);
20
21 protected:
22 virtual void GetPlugins(
23 std::vector<webkit::npapi::PluginGroup>* plugin_groups);
24
25 private:
26 std::vector<webkit::npapi::PluginGroup> plugins_;
27 };
28
29 #endif // CHROME_BROWSER_MOCK_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_plugin_service_filter.cc ('k') | chrome/browser/mock_plugin_exceptions_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698