IndexedDBFactory now ForceCloses databases.
[chromium-blink-merge.git] / content / renderer / browser_plugin / mock_browser_plugin.h
blobee0f5542f9e3ecc543d425265bcfb3a935b6a7f7
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"
10 namespace content {
12 class MockBrowserPlugin : public BrowserPlugin {
13 public:
14 MockBrowserPlugin(RenderViewImpl* render_view,
15 blink::WebFrame* frame);
17 virtual ~MockBrowserPlugin();
19 // Allow poking at a few private members.
20 using BrowserPlugin::OnAttachACK;
21 using BrowserPlugin::guest_crashed_;
22 using BrowserPlugin::pending_damage_buffer_;
23 using BrowserPlugin::damage_buffer_sequence_id_;
26 } // namespace content
28 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_