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

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

Issue 2216463002: [Autofill] Migrate ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPCs to mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nit from Vaclav Created 4 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) 2012 The Chromium Authors. All rights reserved. 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 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 18 matching lines...) Expand all
29 ~ChromeRenderViewTest() override; 29 ~ChromeRenderViewTest() override;
30 30
31 protected: 31 protected:
32 // testing::Test 32 // testing::Test
33 void SetUp() override; 33 void SetUp() override;
34 void TearDown() override; 34 void TearDown() override;
35 content::ContentClient* CreateContentClient() override; 35 content::ContentClient* CreateContentClient() override;
36 content::ContentBrowserClient* CreateContentBrowserClient() override; 36 content::ContentBrowserClient* CreateContentBrowserClient() override;
37 content::ContentRendererClient* CreateContentRendererClient() override; 37 content::ContentRendererClient* CreateContentRendererClient() override;
38 38
39 // Called from SetUp(). Override to register mojo interfaces.
40 virtual void RegisterMainFrameRemoteInterfaces();
41
39 // Initializes commonly needed global state and renderer client parts. 42 // Initializes commonly needed global state and renderer client parts.
40 // Use when overriding CreateContentRendererClient. 43 // Use when overriding CreateContentRendererClient.
41 void InitChromeContentRendererClient(ChromeContentRendererClient* client); 44 void InitChromeContentRendererClient(ChromeContentRendererClient* client);
42 45
43 void EnableUserGestureSimulationForAutofill(); 46 void EnableUserGestureSimulationForAutofill();
44 void DisableUserGestureSimulationForAutofill(); 47 void DisableUserGestureSimulationForAutofill();
45 void WaitForAutofillDidAssociateFormControl(); 48 void WaitForAutofillDidAssociateFormControl();
46 49
47 #if defined(ENABLE_EXTENSIONS) 50 #if defined(ENABLE_EXTENSIONS)
48 std::unique_ptr<extensions::DispatcherDelegate> 51 std::unique_ptr<extensions::DispatcherDelegate>
49 extension_dispatcher_delegate_; 52 extension_dispatcher_delegate_;
50 #endif 53 #endif
51 54
52 autofill::TestPasswordAutofillAgent* password_autofill_agent_; 55 autofill::TestPasswordAutofillAgent* password_autofill_agent_;
53 autofill::TestPasswordGenerationAgent* password_generation_; 56 autofill::TestPasswordGenerationAgent* password_generation_;
54 autofill::AutofillAgent* autofill_agent_; 57 autofill::AutofillAgent* autofill_agent_;
55 58
56 // Naked pointer as ownership is with content::RenderViewTest::render_thread_. 59 // Naked pointer as ownership is with content::RenderViewTest::render_thread_.
57 ChromeMockRenderThread* chrome_render_thread_; 60 ChromeMockRenderThread* chrome_render_thread_;
58 }; 61 };
59 62
60 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ 63 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/password_generation_test_utils.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