OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa
ss_stats.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa
ss_stats.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/metrics/histogram_macros.h" | 8 #include "base/metrics/histogram_macros.h" |
9 #include "base/metrics/sparse_histogram.h" | 9 #include "base/metrics/sparse_histogram.h" |
10 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig.h" | 10 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig.h" |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 UMA_HISTOGRAM_COUNTS( | 530 UMA_HISTOGRAM_COUNTS( |
531 "DataReductionProxy.BypassedBytes.Status502HttpBadGateway", | 531 "DataReductionProxy.BypassedBytes.Status502HttpBadGateway", |
532 content_length); | 532 content_length); |
533 break; | 533 break; |
534 case BYPASS_EVENT_TYPE_STATUS_503_HTTP_SERVICE_UNAVAILABLE: | 534 case BYPASS_EVENT_TYPE_STATUS_503_HTTP_SERVICE_UNAVAILABLE: |
535 UMA_HISTOGRAM_COUNTS( | 535 UMA_HISTOGRAM_COUNTS( |
536 "DataReductionProxy.BypassedBytes." | 536 "DataReductionProxy.BypassedBytes." |
537 "Status503HttpServiceUnavailable", | 537 "Status503HttpServiceUnavailable", |
538 content_length); | 538 content_length); |
539 break; | 539 break; |
| 540 case BYPASS_EVENT_TYPE_URL_REDIRECT_CYCLE: |
| 541 UMA_HISTOGRAM_COUNTS( |
| 542 "DataReductionProxy.BypassedBytes.URLRedirectCycle", |
| 543 content_length); |
| 544 break; |
540 default: | 545 default: |
541 break; | 546 break; |
542 } | 547 } |
543 break; | 548 break; |
544 } | 549 } |
545 } | 550 } |
546 | 551 |
547 } // namespace data_reduction_proxy | 552 } // namespace data_reduction_proxy |
OLD | NEW |