1 // Copyright (c) 2012 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.
5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_
8 #include "content/renderer/browser_plugin/browser_plugin.h"
12 class MockBrowserPlugin : public BrowserPlugin {
14 MockBrowserPlugin(RenderViewImpl* render_view,
15 blink::WebFrame* frame,
16 scoped_ptr<BrowserPluginDelegate> delegate);
18 virtual ~MockBrowserPlugin();
20 // Allow poking at a few private members.
21 using BrowserPlugin::OnAttachACK;
22 using BrowserPlugin::guest_crashed_;
25 } // namespace content
27 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_