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

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: Unfriend PasswordAutofillAgentTest and RequestAutocompleteRendererTest from AutofillAgent. 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
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 92425b1b667f476545c10c969009c12bb8344b58..028e4f69c5a593e70fd16a88f6979b2b2c636e84 100644
--- a/chrome/test/base/chrome_render_view_test.cc
+++ b/chrome/test/base/chrome_render_view_test.cc
@@ -14,6 +14,7 @@
#include "chrome/test/base/chrome_unit_test_suite.h"
#include "components/autofill/content/renderer/autofill_agent.h"
vabr (Chromium) 2014/09/15 14:26:59 Do you still need this #include, when you add the
Pritam Nikam 2014/09/16 07:54:19 Done.
#include "components/autofill/content/renderer/password_autofill_agent.h"
+#include "components/autofill/content/renderer/test_autofill_agent.h"
#include "components/autofill/content/renderer/test_password_autofill_agent.h"
#include "components/autofill/content/renderer/test_password_generation_agent.h"
#include "content/public/browser/native_web_keyboard_event.h"
@@ -38,7 +39,7 @@ using blink::WebScriptController;
using blink::WebScriptSource;
using blink::WebString;
using blink::WebURLRequest;
-using autofill::AutofillAgent;
+using autofill::TestAutofillAgent;
vabr (Chromium) 2014/09/15 14:26:59 nit: alphabetise
Pritam Nikam 2014/09/16 07:54:19 Done.
using autofill::PasswordAutofillAgent;
using autofill::PasswordGenerationAgent;
@@ -67,7 +68,7 @@ void ChromeRenderViewTest::SetUp() {
password_autofill_ = new autofill::TestPasswordAutofillAgent(view_);
password_generation_ = new autofill::TestPasswordGenerationAgent(view_);
autofill_agent_ =
- new AutofillAgent(view_, password_autofill_, password_generation_);
+ new TestAutofillAgent(view_, password_autofill_, password_generation_);
}
void ChromeRenderViewTest::TearDown() {

Powered by Google App Engine
This is Rietveld 408576698