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

Unified Diff: content/browser/browser_plugin/test_browser_plugin_guest.h

Issue 11312179: C++ readability review for lazyboy@ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments (round 2). Created 7 years, 1 month 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
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_

Powered by Google App Engine
This is Rietveld 408576698