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

Unified Diff: components/autofill/content/browser/wallet/wallet_client.cc

Issue 21054003: Autocheckout: Manually revert r208999 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 5 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/content/browser/wallet/wallet_client.cc
diff --git a/components/autofill/content/browser/wallet/wallet_client.cc b/components/autofill/content/browser/wallet/wallet_client.cc
index aa82172b31f3ca649388b5c88db51d60aa917137..190c38610e31db3fe7a9e86b384cf529edd99f99 100644
--- a/components/autofill/content/browser/wallet/wallet_client.cc
+++ b/components/autofill/content/browser/wallet/wallet_client.cc
@@ -491,7 +491,6 @@ void WalletClient::GetWalletItems(const GURL& source_url) {
void WalletClient::SendAutocheckoutStatus(
AutocheckoutStatus status,
const GURL& source_url,
- const std::vector<AutocheckoutStatistic>& latency_statistics,
const std::string& google_transaction_id) {
DVLOG(1) << "Sending Autocheckout Status: " << status
<< " for: " << source_url;
@@ -500,7 +499,6 @@ void WalletClient::SendAutocheckoutStatus(
base::Unretained(this),
status,
source_url,
- latency_statistics,
google_transaction_id));
return;
}
@@ -516,16 +514,6 @@ void WalletClient::SendAutocheckoutStatus(
source_url.GetWithEmptyPath().spec());
if (!success)
request_dict.SetString(kReasonKey, AutocheckoutStatusToString(status));
- if (!latency_statistics.empty()) {
- scoped_ptr<base::ListValue> latency_statistics_json(
- new base::ListValue());
- for (size_t i = 0; i < latency_statistics.size(); ++i) {
- latency_statistics_json->Append(
- latency_statistics[i].ToDictionary().release());
- }
- request_dict.Set(kAutocheckoutStepsKey,
- latency_statistics_json.release());
- }
request_dict.SetString(kGoogleTransactionIdKey, google_transaction_id);
std::string post_body;

Powered by Google App Engine
This is Rietveld 408576698