Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 CHROME_INSTALLER_SETUP_INSTALLER_METRICS_H_ | |
| 6 #define CHROME_INSTALLER_SETUP_INSTALLER_METRICS_H_ | |
| 7 | |
| 8 namespace base { | |
| 9 class FilePath; | |
| 10 } // namespace base | |
| 11 | |
| 12 namespace installer { | |
| 13 | |
| 14 // Creates a persistent space for any histograms that can be reported later | |
| 15 // by the browser process. | |
| 16 void BeginPersistentHistogramStorage(); | |
| 17 | |
| 18 // Saves all the persistent histograms to a single file on disk for reading | |
| 19 // by the browser so it can be reported. | |
|
Alexei Svitkine (slow)
2016/02/19 18:16:40
Nit: Can you expand the comment to indicate whethe
bcwhite
2016/02/19 19:50:14
Done.
| |
| 20 void EndPersistentHistogramStorage(const base::FilePath& target_dir); | |
| 21 | |
| 22 } // namespace installer | |
| 23 | |
| 24 #endif // CHROME_INSTALLER_SETUP_INSTALLER_METRICS_H_ | |
| 25 | |
| OLD | NEW |