| OLD | NEW |
| 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "net/base/connection_type_histograms.h" | 5 #include "net/base/connection_type_histograms.h" |
| 6 | 6 |
| 7 #include "base/histogram.h" | 7 #include "base/histogram.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| 11 // We're using a histogram as a group of counters. We're only interested in | 11 // We're using a histogram as a group of counters. We're only interested in |
| (...skipping 22 matching lines...) Expand all Loading... |
| 34 had_connection_type[type] = true; | 34 had_connection_type[type] = true; |
| 35 counter1.SetFlags(kUmaTargetedHistogramFlag); | 35 counter1.SetFlags(kUmaTargetedHistogramFlag); |
| 36 counter1.Add(type); | 36 counter1.Add(type); |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 counter2.SetFlags(kUmaTargetedHistogramFlag); | 39 counter2.SetFlags(kUmaTargetedHistogramFlag); |
| 40 counter2.Add(type); | 40 counter2.Add(type); |
| 41 } | 41 } |
| 42 | 42 |
| 43 } // namespace net | 43 } // namespace net |
| OLD | NEW |