OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef BASE_MAC_KEYCHAIN_METRICS_H_ |
| 6 #define BASE_MAC_KEYCHAIN_METRICS_H_ |
| 7 |
| 8 #include "base/base_export.h" |
| 9 #include "base/basictypes.h" |
| 10 |
| 11 namespace base { |
| 12 namespace mac { |
| 13 |
| 14 // Adds an entry to a local histogram to indicate that the keychain was |
| 15 // accessed. This function should be called each time the keychain is accessed |
| 16 // so that the number of entries in the histogram corresponds to the number of |
| 17 // times that the keychain is accessed. |
| 18 // |
| 19 // This local histogram is used by telemetry to track the number of times the |
| 20 // keychain is accessed. |
| 21 BASE_EXPORT void IncrementKeychainAccessHistogram(); |
| 22 |
| 23 } // namespace mac |
| 24 } // namespace base |
| 25 |
| 26 #endif // BASE_MAC_KEYCHAIN_METRICS_H_ |
OLD | NEW |