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

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

Issue 2829853008: Stores server card as a full server card when upload to server succeeds. (Closed)
Patch Set: Stores server card as a full server card when upload to server succeeds. Created 3 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/core/browser/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index c8597275741e5c61a8aeeabfdd57a72a710d78b0..99873fc8fa6064809ee9e01e23ccf0110b874cd8 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -301,7 +301,8 @@ class AutofillManager : public AutofillDownloadManager::Observer,
AutofillClient::PaymentsRpcResult result,
const base::string16& context_token,
std::unique_ptr<base::DictionaryValue> legal_message) override;
- void OnDidUploadCard(AutofillClient::PaymentsRpcResult result) override;
+ void OnDidUploadCard(AutofillClient::PaymentsRpcResult result,
+ const std::string& server_id) override;
// payments::FullCardRequest::ResultDelegate:
void OnFullCardRequestSucceeded(const CreditCard& card,
@@ -591,6 +592,7 @@ class AutofillManager : public AutofillDownloadManager::Observer,
friend class AutofillManagerTest;
friend class FormStructureBrowserTest;
+ friend class TestAutofillManager;
FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
DeterminePossibleFieldTypesForUpload);
FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,

Powered by Google App Engine
This is Rietveld 408576698