Revert of Enabling audio quality test on mac. (patchset #1 id:1 of https://codereview...
[chromium-blink-merge.git] / chrome / test / base / chrome_render_view_test.h
blob6ff32b6dfd9706d2eae6bc2f9343b50e9d367e72
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
3 // found in the LICENSE file.
5 #ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
8 #include <string>
10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/renderer/chrome_mock_render_thread.h"
12 #include "content/public/test/render_view_test.h"
14 namespace autofill {
15 class AutofillAgent;
16 class TestPasswordAutofillAgent;
17 class TestPasswordGenerationAgent;
20 namespace extensions {
21 class DispatcherDelegate;
24 class ChromeRenderViewTest : public content::RenderViewTest {
25 public:
26 ChromeRenderViewTest();
27 virtual ~ChromeRenderViewTest();
29 protected:
30 // testing::Test
31 virtual void SetUp() OVERRIDE;
32 virtual void TearDown() OVERRIDE;
33 virtual content::ContentClient* CreateContentClient() OVERRIDE;
34 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE;
35 virtual content::ContentRendererClient*
36 CreateContentRendererClient() OVERRIDE;
38 #if defined(ENABLE_EXTENSIONS)
39 scoped_ptr<extensions::DispatcherDelegate> extension_dispatcher_delegate_;
40 #endif
42 autofill::TestPasswordAutofillAgent* password_autofill_agent_;
43 autofill::TestPasswordGenerationAgent* password_generation_;
44 autofill::AutofillAgent* autofill_agent_;
46 // Naked pointer as ownership is with content::RenderViewTest::render_thread_.
47 ChromeMockRenderThread* chrome_render_thread_;
50 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_