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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/mock_plugin_exceptions_table_model.h
===================================================================
--- chrome/browser/mock_plugin_exceptions_table_model.h (revision 102144)
+++ chrome/browser/mock_plugin_exceptions_table_model.h (working copy)
@@ -1,29 +0,0 @@
-// 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);
- virtual ~MockPluginExceptionsTableModel();
-
- void set_plugins(std::vector<webkit::npapi::PluginGroup>& plugins);
-
- protected:
- virtual void GetPlugins(
- std::vector<webkit::npapi::PluginGroup>* plugin_groups);
-
- private:
- std::vector<webkit::npapi::PluginGroup> plugins_;
-};
-
-#endif // CHROME_BROWSER_MOCK_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
« 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