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

Unified Diff: chrome/browser/autofill/autofill_manager_unittest.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
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/chromeos/login/account_creation_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_manager_unittest.cc
===================================================================
--- chrome/browser/autofill/autofill_manager_unittest.cc (revision 72573)
+++ chrome/browser/autofill/autofill_manager_unittest.cc (working copy)
@@ -24,7 +24,7 @@
#include "chrome/browser/tab_contents/test_tab_contents.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/pref_names.h"
-#include "chrome/common/render_messages.h"
+#include "chrome/common/autofill_messages.h"
Ilya Sherman 2011/01/26 04:43:12 nit: header order
#include "chrome/test/testing_profile.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
@@ -479,14 +479,14 @@
std::vector<string16>* labels,
std::vector<string16>* icons,
std::vector<int>* unique_ids) {
- const uint32 kMsgID = ViewMsg_AutoFillSuggestionsReturned::ID;
+ const uint32 kMsgID = AutoFillMsg_SuggestionsReturned::ID;
const IPC::Message* message =
process()->sink().GetFirstMessageMatching(kMsgID);
if (!message)
return false;
AutoFillParam autofill_param;
- ViewMsg_AutoFillSuggestionsReturned::Read(message, &autofill_param);
+ AutoFillMsg_SuggestionsReturned::Read(message, &autofill_param);
if (page_id)
*page_id = autofill_param.a;
if (values)
@@ -505,13 +505,13 @@
}
bool GetAutoFillFormDataFilledMessage(int *page_id, FormData* results) {
- const uint32 kMsgID = ViewMsg_AutoFillFormDataFilled::ID;
+ const uint32 kMsgID = AutoFillMsg_FormDataFilled::ID;
const IPC::Message* message =
process()->sink().GetFirstMessageMatching(kMsgID);
if (!message)
return false;
Tuple2<int, FormData> autofill_param;
- ViewMsg_AutoFillFormDataFilled::Read(message, &autofill_param);
+ AutoFillMsg_FormDataFilled::Read(message, &autofill_param);
if (page_id)
*page_id = autofill_param.a;
if (results)
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/chromeos/login/account_creation_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698