OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 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 #ifndef PPAPI_THUNK_PPB_UMA_PRIVATE_API_H_ | |
6 #define PPAPI_THUNK_PPB_UMA_PRIVATE_API_H_ | |
7 | |
8 #include "ppapi/shared_impl/singleton_resource_id.h" | |
9 #include "ppapi/shared_impl/tracked_callback.h" | |
bbudge
2013/12/04 21:08:30
I don't think you need this.
elijahtaylor1
2013/12/21 02:26:21
Done.
| |
10 #include "ppapi/thunk/ppapi_thunk_export.h" | |
11 | |
12 namespace ppapi { | |
13 | |
bbudge
2013/12/04 21:08:30
extra sp.
elijahtaylor1
2013/12/21 02:26:21
Done.
| |
14 namespace thunk { | |
15 | |
16 class PPAPI_THUNK_EXPORT PPB_UMA_Singleton_API { | |
17 public: | |
18 virtual ~PPB_UMA_Singleton_API() {} | |
19 | |
20 virtual void HistogramCustomTimes(PP_Instance instance, | |
21 struct PP_Var name, | |
22 int64_t sample, | |
23 int64_t min, | |
24 int64_t max, | |
25 uint32_t bucket_count) = 0; | |
26 | |
27 virtual void HistogramCustomCounts(PP_Instance instance, | |
28 struct PP_Var name, | |
29 int32_t sample, | |
30 int32_t min, | |
31 int32_t max, | |
32 uint32_t bucket_count) = 0; | |
33 | |
34 virtual void HistogramEnumeration(PP_Instance instance, | |
35 struct PP_Var name, | |
36 int32_t sample, | |
37 int32_t boundary_value) = 0; | |
38 | |
39 static const SingletonResourceID kSingletonResourceID = UMA_SINGLETON_ID; | |
40 }; | |
41 | |
42 } // namespace thunk | |
43 } // namespace ppapi | |
44 | |
45 #endif // PPAPI_THUNK_PPB_UMA_PRIVATE_API_H_ | |
OLD | NEW |