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

Side by Side Diff: components/nacl/renderer/histogram.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 unified diff | Download patch
« no previous file with comments | « components/nacl/renderer/file_downloader.h ('k') | components/nacl/renderer/json_manifest.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 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 // This file contains a set of histogram support functions for logging behavior 5 // This file contains a set of histogram support functions for logging behavior
6 // seen while loading NaCl plugins. 6 // seen while loading NaCl plugins.
7 7
8 #ifndef COMPONENTS_NACL_RENDERER_HISTOGRAM_H_ 8 #ifndef COMPONENTS_NACL_RENDERER_HISTOGRAM_H_
9 #define COMPONENTS_NACL_RENDERER_HISTOGRAM_H_ 9 #define COMPONENTS_NACL_RENDERER_HISTOGRAM_H_
10 10
11 #include <stdint.h>
12
11 #include <string> 13 #include <string>
12 #include "base/time/time.h" 14 #include "base/time/time.h"
13 #include "components/nacl/renderer/ppb_nacl_private.h" 15 #include "components/nacl/renderer/ppb_nacl_private.h"
14 16
15 namespace nacl { 17 namespace nacl {
16 18
17 void HistogramCustomCounts(const std::string& name, 19 void HistogramCustomCounts(const std::string& name,
18 int32_t sample, 20 int32_t sample,
19 int32_t min, 21 int32_t min,
20 int32_t max, 22 int32_t max,
(...skipping 27 matching lines...) Expand all
48 void HistogramHTTPStatusCode(const std::string& name, int32_t status); 50 void HistogramHTTPStatusCode(const std::string& name, int32_t status);
49 void HistogramEnumerateManifestIsDataURI(bool is_data_uri); 51 void HistogramEnumerateManifestIsDataURI(bool is_data_uri);
50 void HistogramKBPerSec(const std::string& name, int64_t kb, int64_t us); 52 void HistogramKBPerSec(const std::string& name, int64_t kb, int64_t us);
51 void HistogramRatio(const std::string& name, 53 void HistogramRatio(const std::string& name,
52 int64_t numerator, 54 int64_t numerator,
53 int64_t denominator); 55 int64_t denominator);
54 56
55 } // namespace nacl 57 } // namespace nacl
56 58
57 #endif // COMPONENTS_NACL_RENDERER_HISTOGRAM_H_ 59 #endif // COMPONENTS_NACL_RENDERER_HISTOGRAM_H_
OLDNEW
« no previous file with comments | « components/nacl/renderer/file_downloader.h ('k') | components/nacl/renderer/json_manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698