[cr146] WalletablePass => WalletPass
Chromium changes: https://chromium.googlesource.com/chromium/src/+/3ed3758939d175c173d16090cb2e0eafd9583fe4 commit 3ed3758939d175c173d16090cb2e0eafd9583fe4 Author: Norge Vizcay <vizcay@google.com> Date: Wed Jan 28 01:30:02 2026 -0800 Rename WalletablePass to WalletPass in the wallet data model. This change renames the WalletablePass struct to WalletPass and updates its associated files and references across the wallet component. It also simplifies the request building logic in WalletHttpClientImpl as part of the transition to a more generic data model for Google Wallet passes. Bypass-Check-License: Files were moved. Bug: 478783796 Change-Id: I94d65f6a78a439901d1fbec4707ccf645446023d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7520530 Commit-Queue: Norge Vizcay <vizcay@google.com> Reviewed-by: Jan Keitel <jkeitel@google.com> Cr-Commit-Position: refs/heads/main@{#1575789}
This commit is contained in:
@@ -15,7 +15,7 @@ WalletHttpClientImpl::WalletHttpClientImpl(
|
||||
|
||||
WalletHttpClientImpl::~WalletHttpClientImpl() = default;
|
||||
|
||||
void WalletHttpClientImpl::SavePass(const WalletablePass& pass,
|
||||
void WalletHttpClientImpl::SavePass(const WalletPass& pass,
|
||||
SavePassCallback callback) {
|
||||
std::move(callback).Run(
|
||||
base::unexpected(WalletHttpClient::WalletRequestError::kGenericError));
|
||||
|
||||
@@ -33,7 +33,7 @@ class WalletHttpClientImpl : public WalletHttpClient {
|
||||
WalletHttpClientImpl& operator=(const WalletHttpClientImpl&) = delete;
|
||||
|
||||
// WalletHttpClient:
|
||||
void SavePass(const WalletablePass& pass, SavePassCallback callback) override;
|
||||
void SavePass(const WalletPass& pass, SavePassCallback callback) override;
|
||||
};
|
||||
|
||||
} // namespace wallet
|
||||
|
||||
Reference in New Issue
Block a user