| 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 6343abcde75cb0db38cb663b5fbe208da87881b7..98e02b1255cff1c82a529e853b4f6a8d9cc1fb6e 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/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
|
|
|