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

Unified Diff: chrome/test/base/chrome_render_view_test.h

Issue 2085443002: Remove the need for copy-pasting code in ChromeRenderViewTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove one more forgotten include. Created 4 years, 6 months 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: chrome/test/base/chrome_render_view_test.h
diff --git a/chrome/test/base/chrome_render_view_test.h b/chrome/test/base/chrome_render_view_test.h
index bf7d81236a1f4b672b1dfb6e68a1d675949bd1af..7c579eeacc0c70ce531f97ddd90d356afa10ac83 100644
--- a/chrome/test/base/chrome_render_view_test.h
+++ b/chrome/test/base/chrome_render_view_test.h
@@ -11,6 +11,8 @@
#include "chrome/renderer/chrome_mock_render_thread.h"
#include "content/public/test/render_view_test.h"
+class ChromeContentRendererClient;
+
namespace autofill {
class AutofillAgent;
class TestPasswordAutofillAgent;
@@ -34,6 +36,10 @@ class ChromeRenderViewTest : public content::RenderViewTest {
content::ContentBrowserClient* CreateContentBrowserClient() override;
content::ContentRendererClient* CreateContentRendererClient() override;
+ // Initializes commonly needed global state and renderer client parts.
+ // Use when overriding CreateContentRendererClient.
+ void InitChromeContentRendererClient(ChromeContentRendererClient* client);
+
void EnableUserGestureSimulationForAutofill();
void DisableUserGestureSimulationForAutofill();

Powered by Google App Engine
This is Rietveld 408576698