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

Unified Diff: chrome/browser/prefs/chrome_pref_service_factory.h

Issue 90563003: Fix a race condition in preference metric reporting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to Gab's comments. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/prefs/chrome_pref_service_factory.h
diff --git a/chrome/browser/prefs/chrome_pref_service_factory.h b/chrome/browser/prefs/chrome_pref_service_factory.h
index eb6b4fce2cc0a80a2f0b4e0dcc4a399e877135d6..7ec1fea87c10e5a85556614f333c9b4c0ba15e5e 100644
--- a/chrome/browser/prefs/chrome_pref_service_factory.h
+++ b/chrome/browser/prefs/chrome_pref_service_factory.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
namespace base {
class FilePath;
@@ -21,6 +22,7 @@ class PrefRegistrySyncable;
}
class ManagedUserSettingsService;
+class PrefHashStore;
class PrefRegistry;
class PrefService;
class PrefServiceSyncable;
@@ -55,6 +57,7 @@ PrefServiceSyncable* CreateProfilePrefs(
base::SequencedTaskRunner* pref_io_task_runner,
policy::PolicyService* policy_service,
ManagedUserSettingsService* managed_user_settings,
+ scoped_ptr<PrefHashStore> pref_hash_store,
const scoped_refptr<PrefStore>& extension_prefs,
const scoped_refptr<user_prefs::PrefRegistrySyncable>& pref_registry,
bool async);

Powered by Google App Engine
This is Rietveld 408576698