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

Unified Diff: webkit/plugins/npapi/mock_plugin_list.h

Issue 19706002: Remove plugin_list.h includes from chrome tests in preparation for moving webkit/plugins to content… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix posix tests Created 7 years, 5 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
« no previous file with comments | « content/public/browser/plugin_service.h ('k') | webkit/plugins/npapi/mock_plugin_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/mock_plugin_list.h
===================================================================
--- webkit/plugins/npapi/mock_plugin_list.h (revision 212185)
+++ webkit/plugins/npapi/mock_plugin_list.h (working copy)
@@ -1,39 +0,0 @@
-// Copyright (c) 2012 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 WEBKIT_PLUGINS_NPAPI_MOCK_PLUGIN_LIST_H_
-#define WEBKIT_PLUGINS_NPAPI_MOCK_PLUGIN_LIST_H_
-
-#include "webkit/plugins/npapi/plugin_list.h"
-
-namespace webkit {
-namespace npapi {
-
-// A PluginList for tests that avoids file system IO. There is also no reason
-// to use |lock_| (but it doesn't hurt either).
-class MockPluginList : public PluginList {
- public:
- MockPluginList();
- virtual ~MockPluginList();
-
- void AddPluginToLoad(const WebPluginInfo& plugin);
- void ClearPluginsToLoad();
-
- // PluginList:
- virtual bool GetPluginsNoRefresh(
- std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
-
- private:
- std::vector<WebPluginInfo> plugins_to_load_;
-
- // PluginList methods:
-
- virtual void LoadPluginsIntoPluginListInternal(
- std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
-};
-
-} // npapi
-} // webkit
-
-#endif // WEBKIT_PLUGINS_NPAPI_MOCK_PLUGIN_LIST_H_
« no previous file with comments | « content/public/browser/plugin_service.h ('k') | webkit/plugins/npapi/mock_plugin_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698