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

Unified Diff: chrome/renderer/render_view_browsertest.cc

Issue 6390006: Create autofill subdirectory in chrome/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using order Created 9 years, 11 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/renderer/render_view.cc ('k') | chrome/test/render_view_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view_browsertest.cc
diff --git a/chrome/renderer/render_view_browsertest.cc b/chrome/renderer/render_view_browsertest.cc
index 484f6595bed25380688d41f107e05eab2f880b51..0d71b7f79490b0be1e4271b4b2061cb636f97cd9 100644
--- a/chrome/renderer/render_view_browsertest.cc
+++ b/chrome/renderer/render_view_browsertest.cc
@@ -13,7 +13,7 @@
#include "chrome/common/native_web_keyboard_event.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/render_messages_params.h"
-#include "chrome/renderer/autofill_helper.h"
+#include "chrome/renderer/autofill/autofill_agent.h"
#include "chrome/renderer/print_web_view_helper.h"
#include "chrome/test/render_view_test.h"
#include "gfx/codec/jpeg_codec.h"
@@ -1067,7 +1067,7 @@ TEST_F(RenderViewTest, SendForms) {
// Accept suggestion that contains a label. Labeled items indicate AutoFill
// as opposed to Autocomplete. We're testing this distinction below with
// the |AutoFillHostMsg_FillAutoFillFormData::ID| message.
- autofill_helper_->didAcceptAutoFillSuggestion(
+ autofill_agent_->didAcceptAutoFillSuggestion(
firstname,
WebKit::WebString::fromUTF8("Johnny"),
WebKit::WebString::fromUTF8("Home"),
@@ -1153,7 +1153,7 @@ TEST_F(RenderViewTest, FillFormElement) {
// Accept a suggestion in a form that has been auto-filled. This triggers
// the direct filling of the firstname element with value parameter.
- autofill_helper_->didAcceptAutoFillSuggestion(
+ autofill_agent_->didAcceptAutoFillSuggestion(
firstname,
WebKit::WebString::fromUTF8("David"),
WebKit::WebString(),
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/test/render_view_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698