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

Unified Diff: chrome/browser/autofill/autofill_download.cc

Issue 6213002: Propagate correct data to the Toolbar servers (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/browser/autofill/autofill_download.cc
===================================================================
--- chrome/browser/autofill/autofill_download.cc (revision 71339)
+++ chrome/browser/autofill/autofill_download.cc (working copy)
@@ -86,7 +86,8 @@
}
bool AutoFillDownloadManager::StartUploadRequest(
- const FormStructure& form, bool form_was_matched) {
+ const FormStructure& form, bool form_was_matched,
+ char const* present_data) {
Ilya Sherman 2011/01/13 23:44:37 nit: You use |present_data| here and |data_present
GeorgeY 2011/01/18 21:04:56 Done. data_presence all the way :)
if (next_upload_request_ > base::Time::Now()) {
// We are in back-off mode: do not do the request.
return false;
@@ -101,7 +102,7 @@
return false;
}
std::string form_xml;
- if (!form.EncodeUploadRequest(form_was_matched, &form_xml))
+ if (!form.EncodeUploadRequest(form_was_matched, present_data, &form_xml))
return false;
FormRequestData request_data;

Powered by Google App Engine
This is Rietveld 408576698