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

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

Issue 563313004: [Password Manager] Unfriend PasswordAutofillAgentTest from PasswordAutofillAgent (clean-up). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated review comments. Created 6 years, 3 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/test/base/chrome_render_view_test.h ('k') | components/autofill/content/renderer/autofill_agent.h » ('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.cc
diff --git a/chrome/test/base/chrome_render_view_test.cc b/chrome/test/base/chrome_render_view_test.cc
index d60f8166a4afd897d1b1e31c3429b2948b694041..da8e1458ffa5275a8dd77c551fe0fe65cbe7afdc 100644
--- a/chrome/test/base/chrome_render_view_test.cc
+++ b/chrome/test/base/chrome_render_view_test.cc
@@ -46,7 +46,7 @@ using blink::WebString;
using blink::WebURLRequest;
ChromeRenderViewTest::ChromeRenderViewTest()
- : password_autofill_(NULL),
+ : password_autofill_agent_(NULL),
password_generation_(NULL),
autofill_agent_(NULL),
chrome_render_thread_(NULL) {
@@ -67,10 +67,10 @@ void ChromeRenderViewTest::SetUp() {
// RenderView doesn't expose its Agent objects, because it has no need to
// store them directly (they're stored as RenderViewObserver*). So just
// create another set.
- password_autofill_ = new autofill::TestPasswordAutofillAgent(view_);
+ password_autofill_agent_ = new autofill::TestPasswordAutofillAgent(view_);
password_generation_ = new autofill::TestPasswordGenerationAgent(view_);
autofill_agent_ =
- new AutofillAgent(view_, password_autofill_, password_generation_);
+ new AutofillAgent(view_, password_autofill_agent_, password_generation_);
}
void ChromeRenderViewTest::TearDown() {
« no previous file with comments | « chrome/test/base/chrome_render_view_test.h ('k') | components/autofill/content/renderer/autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698