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

Unified Diff: components/autofill/core/browser/autofill_manager.h

Issue 2082483005: [Autofill] Log RAPPOR metrics around credit card upload failures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: null check Created 4 years, 6 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/core/browser/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index d587208a9ce1e073610392a08581105dd427e99b..a0dce1dfa03c5d71a7b6f388c1bb268edb5c22ce 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -389,10 +389,11 @@ class AutofillManager : public AutofillDownloadManager::Observer,
// Examines |card| and the stored profiles and if a candidate set of profiles
// is found that matches the client-side validation rules, assigns the values
- // to |profiles|. If no valid set can be found, returns false.
- bool GetProfilesForCreditCardUpload(
- const CreditCard& card,
- std::vector<AutofillProfile>* profiles) const;
+ // to |profiles|. |source_url| is the source URL for the form. If no valid set
+ // can be found, returns false.
+ bool GetProfilesForCreditCardUpload(const CreditCard& card,
+ std::vector<AutofillProfile>* profiles,
+ const GURL& source_url) const;
// If |initial_interaction_timestamp_| is unset or is set to a later time than
// |interaction_timestamp|, updates the cached timestamp. The latter check is

Powered by Google App Engine
This is Rietveld 408576698