From db198b2722f4592f6b76294f6a7f9c868e05bc15 Mon Sep 17 00:00:00 2001 From: "pam@chromium.org" Date: Mon, 12 Jul 2010 16:48:49 +0000 Subject: Add an ExtensionPrefStore, layered between the user prefs and the managed prefs, to manage preferences set by extensions. Update various callers of the PrefValueStore constructor accordingly. The initial user will be the proxy extension API. BUG=266 TEST=covered by unit tests Review URL: http://codereview.chromium.org/2823037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52088 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/reliability/page_load_test.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'chrome/test/reliability') diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc index eca9df2..e39d342 100644 --- a/chrome/test/reliability/page_load_test.cc +++ b/chrome/test/reliability/page_load_test.cc @@ -530,12 +530,8 @@ class PageLoadTest : public UITest { FilePath local_state_path = user_data_dir() .Append(chrome::kLocalStateFilename); - PrefService* local_state(new PrefService(new PrefValueStore( - NULL, /* no managed preference values */ - new JsonPrefStore( /* user defined preference values */ - local_state_path, - ChromeThread::GetMessageLoopProxyForThread(ChromeThread::FILE)), - NULL /* no advised preference values */))); + PrefService* local_state = PrefService::CreateUserPrefService( + local_state_path); return local_state; } -- cgit v1.1