Index: chrome/browser/web_resource/plugins_resource_service.cc |
diff --git a/chrome/browser/web_resource/plugins_resource_service.cc b/chrome/browser/web_resource/plugins_resource_service.cc |
index 77777d8bae3887d9cd0da818e1cde97a5c7a2865..e6df0fd8dbd0419a39cd9d591480ef6beb13a02c 100644 |
--- a/chrome/browser/web_resource/plugins_resource_service.cc |
+++ b/chrome/browser/web_resource/plugins_resource_service.cc |
@@ -6,6 +6,7 @@ |
#include "base/command_line.h" |
#include "chrome/browser/plugins/plugin_finder.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
@@ -65,10 +66,10 @@ PluginsResourceService::~PluginsResourceService() { |
} |
// static |
-void PluginsResourceService::RegisterPrefs(PrefServiceSimple* local_state) { |
- local_state->RegisterDictionaryPref( |
- prefs::kPluginsMetadata, new base::DictionaryValue()); |
- local_state->RegisterStringPref(prefs::kPluginsResourceCacheUpdate, "0"); |
+void PluginsResourceService::RegisterPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterDictionaryPref(prefs::kPluginsMetadata, |
+ new base::DictionaryValue()); |
+ registry->RegisterStringPref(prefs::kPluginsResourceCacheUpdate, "0"); |
} |
void PluginsResourceService::Unpack(const DictionaryValue& parsed_json) { |