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

Side by Side Diff: base/metrics/nacl_histogram.cc

Issue 7004040: Remove NaCl.Startups histogram, this data is tracked in the NaCl plugin now (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: merge with HEAD Created 9 years, 7 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 | « base/metrics/nacl_histogram.h ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // nacl_histogram provides an enum and defines a macro that uses definitions
6 // from histogram.h. Note that a histogram is an object that aggregates
7 // statistics, and can summarize them in various forms, including ASCII
8 // graphical, HTML, and numerically.
9 // nacl_histogram information is used to compare how many times a native
10 // client module has been loaded, compared to the number of chrome starts
11 // and number of new tabs created.
12
13
14 #include "base/metrics/histogram.h"
15 #include "base/metrics/nacl_histogram.h"
16
17 // To log histogram data about NaCl.Startups, call this function with
18 // a NaClHistogramValue passed in as |hvalue|
19 void UmaNaclHistogramEnumeration(NaClHistogramValue histogram_value) {
20 UMA_HISTOGRAM_ENUMERATION("NaCl.Startups", histogram_value,
21 NACL_MAX_HISTOGRAM);
22 }
23
OLDNEW
« no previous file with comments | « base/metrics/nacl_histogram.h ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698