Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 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 CHROME_BROWSER_PREFS_PREF_CHANGE_REPORTER_H_ | |
| 6 #define CHROME_BROWSER_PREFS_PREF_CHANGE_REPORTER_H_ | |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 | |
| 10 class JsonPrefStore; | |
| 11 class PrefHashStore; | |
| 12 | |
| 13 // Enables UMA reporting of tracked preference changes in |pref_store|, using | |
| 14 // |pref_hash_store|. Must be called before |pref_store| has begun loading. | |
| 15 // |pref_hash_store| will be destroyed when |pref_store| is destroyed. | |
| 16 // | |
| 17 void ReportPrefStoreChangesToUMA(JsonPrefStore* pref_store, | |
|
gab
2013/11/27 23:43:27
Change this name to something more generic as this
| |
| 18 scoped_ptr<PrefHashStore> pref_hash_store); | |
| 19 | |
| 20 #endif // CHROME_BROWSER_PREFS_PREF_CHANGE_REPORTER_H_ | |
| OLD | NEW |