| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/browser_plugin/mock_browser_plugin.h" | 5 #include "content/renderer/browser_plugin/mock_browser_plugin.h" |
| 6 |
| 7 #include "content/public/renderer/browser_plugin_delegate.h" |
| 6 #include "content/renderer/render_process_impl.h" | 8 #include "content/renderer/render_process_impl.h" |
| 7 | 9 |
| 8 namespace content { | 10 namespace content { |
| 9 | 11 |
| 10 MockBrowserPlugin::MockBrowserPlugin(RenderViewImpl* render_view, | 12 MockBrowserPlugin::MockBrowserPlugin(RenderViewImpl* render_view, |
| 11 blink::WebFrame* frame, | 13 blink::WebFrame* frame, |
| 12 bool auto_navigate) | 14 scoped_ptr<BrowserPluginDelegate> delegate) |
| 13 : BrowserPlugin(render_view, frame, auto_navigate) { | 15 : BrowserPlugin(render_view, frame, delegate.Pass()) { |
| 14 } | 16 } |
| 15 | 17 |
| 16 MockBrowserPlugin::~MockBrowserPlugin() {} | 18 MockBrowserPlugin::~MockBrowserPlugin() {} |
| 17 | 19 |
| 18 } // namespace content | 20 } // namespace content |
| OLD | NEW |