| Index: chrome/browser/ui/webui/ntp/foreign_session_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/foreign_session_handler.cc b/chrome/browser/ui/webui/ntp/foreign_session_handler.cc
|
| index 34ddc8a062620e37ac9013ac1b27479d0f62900d..7c5624b86cbaa80e6efdd7e24032a069208c5f41 100644
|
| --- a/chrome/browser/ui/webui/ntp/foreign_session_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/foreign_session_handler.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "base/values.h"
|
| +#include "chrome/browser/prefs/pref_registry_syncable.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/prefs/scoped_user_pref_update.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -60,9 +61,9 @@ ForeignSessionHandler::ForeignSessionHandler() {
|
| }
|
|
|
| // static
|
| -void ForeignSessionHandler::RegisterUserPrefs(PrefServiceSyncable* prefs) {
|
| - prefs->RegisterDictionaryPref(prefs::kNtpCollapsedForeignSessions,
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| +void ForeignSessionHandler::RegisterUserPrefs(PrefRegistrySyncable* registry) {
|
| + registry->RegisterDictionaryPref(prefs::kNtpCollapsedForeignSessions,
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| }
|
|
|
| // static
|
|
|