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

Unified Diff: components/autofill/content/browser/request_autocomplete_manager.cc

Issue 232263002: Console logging for rAc developer errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: platforms Created 6 years, 8 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: components/autofill/content/browser/request_autocomplete_manager.cc
diff --git a/components/autofill/content/browser/request_autocomplete_manager.cc b/components/autofill/content/browser/request_autocomplete_manager.cc
index fc96528d46283200e84e7ef39a62d4539122b6e2..8cc0dc5c404457fb891e13e38d4fcb0dfc37ffbe 100644
--- a/components/autofill/content/browser/request_autocomplete_manager.cc
+++ b/components/autofill/content/browser/request_autocomplete_manager.cc
@@ -67,6 +67,7 @@ void RequestAutocompleteManager::OnCancelRequestAutocomplete() {
void RequestAutocompleteManager::ReturnAutocompleteResult(
AutofillManagerDelegate::RequestAutocompleteResult result,
+ const base::string16& debug_message,
const FormStructure* form_structure) {
// autofill_driver_->GetWebContents() will be NULL when the interactive
// autocomplete is closed due to a tab or browser window closing.
@@ -81,6 +82,7 @@ void RequestAutocompleteManager::ReturnAutocompleteResult(
host->Send(new AutofillMsg_RequestAutocompleteResult(
host->GetRoutingID(),
ToWebkitAutocompleteResult(result),
+ debug_message,
form_structure ? form_structure->ToFormData() : FormData()));
}

Powered by Google App Engine
This is Rietveld 408576698