Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: chrome/browser/prefs/pref_change_reporter.h

Issue 90563003: Fix a race condition in preference metric reporting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698