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

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

Issue 911463003: NaCl cleanup: Move ppb_nacl_private.h into components/nacl/renderer/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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.h » ('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 #include <string> 8 #include <string>
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "ppapi/c/private/ppb_nacl_private.h" 10 #include "components/nacl/renderer/ppb_nacl_private.h"
11 11
12 namespace nacl { 12 namespace nacl {
13 13
14 void HistogramCustomCounts(const std::string& name, 14 void HistogramCustomCounts(const std::string& name,
15 int32_t sample, 15 int32_t sample,
16 int32_t min, 16 int32_t min,
17 int32_t max, 17 int32_t max,
18 uint32_t bucket_count); 18 uint32_t bucket_count);
19 19
20 void HistogramEnumerate(const std::string& name, 20 void HistogramEnumerate(const std::string& name,
(...skipping 19 matching lines...) Expand all
40 int64_t nexe_size); 40 int64_t nexe_size);
41 void HistogramStartupTimeMedium(const std::string& name, 41 void HistogramStartupTimeMedium(const std::string& name,
42 base::TimeDelta td, 42 base::TimeDelta td,
43 int64_t nexe_size); 43 int64_t nexe_size);
44 void HistogramSizeKB(const std::string& name, int32_t sample); 44 void HistogramSizeKB(const std::string& name, int32_t sample);
45 void HistogramHTTPStatusCode(const std::string& name, int32_t status); 45 void HistogramHTTPStatusCode(const std::string& name, int32_t status);
46 void HistogramEnumerateManifestIsDataURI(bool is_data_uri); 46 void HistogramEnumerateManifestIsDataURI(bool is_data_uri);
47 void HistogramKBPerSec(const std::string& name, int64_t kb, int64_t us); 47 void HistogramKBPerSec(const std::string& name, int64_t kb, int64_t us);
48 48
49 } // namespace nacl 49 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/renderer/file_downloader.h ('k') | components/nacl/renderer/json_manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698