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

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

Issue 1950203002: Cancel ongoing requests in full card requester. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index c9c1da0d5c2d041d563c822793bf0f90bf4640a1..1cfe52fd6bb092ead9c11ba88f586e6eb61b3fb7 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -1323,15 +1323,6 @@ bool AutofillManager::RefreshDataModels() {
return true;
}
-bool AutofillManager::IsCreditCard(int unique_id) {
- // Unpack the |unique_id| into component parts.
- std::string credit_card_id;
- std::string profile_id;
- SplitFrontendID(unique_id, &credit_card_id, &profile_id);
- DCHECK(!base::IsValidGUID(credit_card_id) || !base::IsValidGUID(profile_id));
- return base::IsValidGUID(credit_card_id);
-}
-
bool AutofillManager::GetProfile(int unique_id,
const AutofillProfile** profile) {
// Unpack the |unique_id| into component parts.
« no previous file with comments | « components/autofill/core/browser/autofill_manager.h ('k') | components/autofill/core/browser/payments/full_card_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698