Chromium Code Reviews| Index: content/browser/browser_plugin/test_browser_plugin_guest.h |
| diff --git a/content/browser/browser_plugin/test_browser_plugin_guest.h b/content/browser/browser_plugin/test_browser_plugin_guest.h |
| index 53f7f8c74082a8977b3834a57ee27670b142ac89..abc1bd67b0c0578e07321440e7452c80365c1f7f 100644 |
| --- a/content/browser/browser_plugin/test_browser_plugin_guest.h |
| +++ b/content/browser/browser_plugin/test_browser_plugin_guest.h |
| @@ -65,6 +65,10 @@ class TestBrowserPluginGuest : public BrowserPluginGuest { |
| // Waits until UpdateRect with a particular |view_size| is observed. |
| void WaitForViewSize(const gfx::Size& view_size); |
| + void set_guest_hang_timeout(const base::TimeDelta& timeout) { |
| + guest_hang_timeout_ = timeout; |
| + } |
| + |
| private: |
| // Overridden methods from BrowserPluginGuest to intercept in test objects. |
| virtual void SendMessageToEmbedder(IPC::Message* msg) OVERRIDE; |
| @@ -103,4 +107,5 @@ class TestBrowserPluginGuest : public BrowserPluginGuest { |
| } // namespace content |
| + |
|
Charlie Reis
2013/11/13 19:04:28
nit: Or here.
lazyboy
2013/11/13 19:21:11
Removed,
Done.
|
| #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_GUEST_H_ |