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

Unified Diff: chrome/renderer/password_autocomplete_manager.cc

Issue 6294016: Move AutoFill messages into a separate file. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
Index: chrome/renderer/password_autocomplete_manager.cc
===================================================================
--- chrome/renderer/password_autocomplete_manager.cc (revision 72573)
+++ chrome/renderer/password_autocomplete_manager.cc (working copy)
@@ -6,7 +6,7 @@
#include "base/message_loop.h"
#include "base/scoped_ptr.h"
-#include "chrome/common/render_messages.h"
+#include "chrome/common/autofill_messages.h"
#include "chrome/renderer/render_view.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
@@ -341,9 +341,10 @@
return;
if (only_visible) {
- Send(new ViewHostMsg_PasswordFormsVisible(routing_id(), password_forms));
+ Send(new AutoFillHostMsg_PasswordFormsVisible(
+ routing_id(), password_forms));
} else {
- Send(new ViewHostMsg_PasswordFormsFound(routing_id(), password_forms));
+ Send(new AutoFillHostMsg_PasswordFormsFound(routing_id(), password_forms));
}
}
@@ -351,7 +352,7 @@
const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(PasswordAutocompleteManager, message)
- IPC_MESSAGE_HANDLER(ViewMsg_FillPasswordForm, OnFillPasswordForm)
+ IPC_MESSAGE_HANDLER(AutoFillMsg_FillPasswordForm, OnFillPasswordForm)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;

Powered by Google App Engine
This is Rietveld 408576698