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

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

Issue 8230034: Split most of RenderViewTest and associated classes into content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build breaks. Created 9 years, 2 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
« no previous file with comments | « chrome/renderer/translate_helper_browsertest.cc ('k') | chrome/test/base/chrome_render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..7085970880bce08bfa0f1404ca06b17ba522d938
--- /dev/null
+++ b/chrome/test/base/chrome_render_view_test.h
@@ -0,0 +1,43 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
+#define CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
+#pragma once
+
+#include <string>
+
+#include "chrome/renderer/autofill/autofill_agent.h"
+#include "chrome/renderer/chrome_mock_render_thread.h"
+#include "chrome/renderer/chrome_content_renderer_client.h"
+#include "content/test/render_view_test.h"
+
+class ExtensionDispatcher;
+
+namespace autofill {
+class AutofillAgent;
+class PasswordAutofillManager;
+}
+
+class ChromeRenderViewTest : public content::RenderViewTest {
+ public:
+ ChromeRenderViewTest();
+ virtual ~ChromeRenderViewTest();
+
+ protected:
+ // testing::Test
+ virtual void SetUp();
+ virtual void TearDown();
+
+ chrome::ChromeContentRendererClient chrome_content_renderer_client_;
+ ExtensionDispatcher* extension_dispatcher_;
+
+ autofill::PasswordAutofillManager* password_autofill_;
+ autofill::AutofillAgent* autofill_agent_;
+
+ // Naked pointer as ownership is with content::RenderViewTest::render_thread_.
+ ChromeMockRenderThread* chrome_render_thread_;
+};
+
+#endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
« no previous file with comments | « chrome/renderer/translate_helper_browsertest.cc ('k') | chrome/test/base/chrome_render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698