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

Side by Side Diff: chrome/test/base/chrome_render_view_test.h

Issue 10821133: Move c/r/extensions/* into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ 5 #ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ 6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/renderer/autofill/autofill_agent.h" 10 #include "chrome/renderer/autofill/autofill_agent.h"
11 #include "chrome/renderer/chrome_mock_render_thread.h" 11 #include "chrome/renderer/chrome_mock_render_thread.h"
12 #include "chrome/renderer/chrome_content_renderer_client.h" 12 #include "chrome/renderer/chrome_content_renderer_client.h"
13 #include "content/public/test/render_view_test.h" 13 #include "content/public/test/render_view_test.h"
14 14
15 class ExtensionDispatcher;
16
17 namespace autofill { 15 namespace autofill {
18 class AutofillAgent; 16 class AutofillAgent;
19 class PasswordAutofillManager; 17 class PasswordAutofillManager;
20 } 18 }
21 19
20 namespace extensions {
21 class Dispatcher;
22 }
23
22 class ChromeRenderViewTest : public content::RenderViewTest { 24 class ChromeRenderViewTest : public content::RenderViewTest {
23 public: 25 public:
24 ChromeRenderViewTest(); 26 ChromeRenderViewTest();
25 virtual ~ChromeRenderViewTest(); 27 virtual ~ChromeRenderViewTest();
26 28
27 protected: 29 protected:
28 // testing::Test 30 // testing::Test
29 virtual void SetUp() OVERRIDE; 31 virtual void SetUp() OVERRIDE;
30 virtual void TearDown() OVERRIDE; 32 virtual void TearDown() OVERRIDE;
31 33
32 chrome::ChromeContentRendererClient chrome_content_renderer_client_; 34 chrome::ChromeContentRendererClient chrome_content_renderer_client_;
33 ExtensionDispatcher* extension_dispatcher_; 35 extensions::Dispatcher* extension_dispatcher_;
34 36
35 autofill::PasswordAutofillManager* password_autofill_; 37 autofill::PasswordAutofillManager* password_autofill_;
36 autofill::AutofillAgent* autofill_agent_; 38 autofill::AutofillAgent* autofill_agent_;
37 39
38 // Naked pointer as ownership is with content::RenderViewTest::render_thread_. 40 // Naked pointer as ownership is with content::RenderViewTest::render_thread_.
39 ChromeMockRenderThread* chrome_render_thread_; 41 ChromeMockRenderThread* chrome_render_thread_;
40 }; 42 };
41 43
42 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ 44 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/resources/extensions/webstore_custom_bindings.js ('k') | chrome/test/base/chrome_render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698