| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef PPAPI_CPP_PRIVATE_UMA_PRIVATE_H_ |
| #define PPAPI_CPP_PRIVATE_UMA_PRIVATE_H_ |
| #include "ppapi/c/pp_instance.h" |
| #include "ppapi/cpp/instance_handle.h" |
| class CompletionCallback; |
| explicit UMAPrivate(const InstanceHandle& instance); |
| static bool IsAvailable(); |
| void HistogramCustomTimes(const std::string& name, |
| void HistogramCustomCounts(const std::string& name, |
| void HistogramEnumeration(const std::string& name, |
| int32_t IsCrashReportingEnabled(const CompletionCallback& cc); |
| #endif // PPAPI_CPP_PRIVATE_UMA_PRIVATE_H_ |