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

Side by Side Diff: components/autofill/core/browser/autofill_download_manager.cc

Issue 1686063004: Sending generated vote on password generation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix BUILD.gn Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/autofill/core/browser/autofill_download_manager.h" 5 #include "components/autofill/core/browser/autofill_download_manager.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 << "\n signature: " << field.signature() 126 << "\n signature: " << field.signature()
127 << "\n autofill_type: " << field.autofill_type(); 127 << "\n autofill_type: " << field.autofill_type();
128 if (!field.name().empty()) 128 if (!field.name().empty())
129 out << "\n name: " << field.name(); 129 out << "\n name: " << field.name();
130 if (!field.autocomplete().empty()) 130 if (!field.autocomplete().empty())
131 out << "\n autocomplete: " << field.autocomplete(); 131 out << "\n autocomplete: " << field.autocomplete();
132 if (!field.type().empty()) 132 if (!field.type().empty())
133 out << "\n type: " << field.type(); 133 out << "\n type: " << field.type();
134 if (!field.label().empty()) 134 if (!field.label().empty())
135 out << "\n label: " << field.label(); 135 out << "\n label: " << field.label();
136 if (field.generation_type())
137 out << "\n generation_type: " << field.generation_type();
136 } 138 }
137 return out; 139 return out;
138 } 140 }
139 141
140 } // namespace 142 } // namespace
141 143
142 struct AutofillDownloadManager::FormRequestData { 144 struct AutofillDownloadManager::FormRequestData {
143 std::vector<std::string> form_signatures; 145 std::vector<std::string> form_signatures;
144 RequestType request_type; 146 RequestType request_type;
145 std::string payload; 147 std::string payload;
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 } else { 354 } else {
353 VLOG(1) << "AutofillDownloadManager: upload request has succeeded."; 355 VLOG(1) << "AutofillDownloadManager: upload request has succeeded.";
354 observer_->OnUploadedPossibleFieldTypes(); 356 observer_->OnUploadedPossibleFieldTypes();
355 } 357 }
356 } 358 }
357 delete it->first; 359 delete it->first;
358 url_fetchers_.erase(it); 360 url_fetchers_.erase(it);
359 } 361 }
360 362
361 } // namespace autofill 363 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/password_generation_agent.cc ('k') | components/autofill/core/browser/autofill_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698