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

Side by Side Diff: net/base/connection_type_histograms.cc

Issue 18063: Add a bucket in the connection type histograms for... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/connection_type_histograms.h ('k') | net/base/ssl_client_socket_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/base/connection_type_histograms.h ('k') | net/base/ssl_client_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698