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

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

Issue 1624543002: [Autofill] Remove GZIP compression since requests are now in proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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
« no previous file with comments | « components/autofill/core/browser/autofill_metrics.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_metrics.cc
diff --git a/components/autofill/core/browser/autofill_metrics.cc b/components/autofill/core/browser/autofill_metrics.cc
index 41ffc803934ebe4996e48f8249b8f330d073c230..82befa42225e539b88ad671fbd267f62b3ddb46e 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -683,22 +683,6 @@ void AutofillMetrics::LogAutofillFormSubmittedState(
AUTOFILL_FORM_SUBMITTED_STATE_ENUM_SIZE);
}
-// static
-void AutofillMetrics::LogPayloadCompressionRatio(
- int compression_ratio,
- AutofillDownloadManager::RequestType type) {
- switch (type) {
- case AutofillDownloadManager::REQUEST_QUERY:
- UMA_HISTOGRAM_PERCENTAGE("Autofill.PayloadCompressionRatio.Query",
- compression_ratio);
- break;
- case AutofillDownloadManager::REQUEST_UPLOAD:
- UMA_HISTOGRAM_PERCENTAGE("Autofill.PayloadCompressionRatio.Upload",
- compression_ratio);
- break;
- }
-}
-
AutofillMetrics::FormEventLogger::FormEventLogger(bool is_for_credit_card)
: is_for_credit_card_(is_for_credit_card),
is_server_data_available_(false),
« no previous file with comments | « components/autofill/core/browser/autofill_metrics.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698