| Index: chrome/browser/ui/webui/ntp/android/promo_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/android/promo_handler.cc b/chrome/browser/ui/webui/ntp/android/promo_handler.cc
|
| index 14b6b93c68dfdd78dd42c96096aab6cfe86ec646..13ef68385b1b0a69a074bbf1c759f78a89080aff 100644
|
| --- a/chrome/browser/ui/webui/ntp/android/promo_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/android/promo_handler.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/string_util.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/android/intent_helper.h"
|
| +#include "chrome/browser/prefs/pref_registry_syncable.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| @@ -122,10 +123,10 @@ void PromoHandler::RegisterMessages() {
|
| }
|
|
|
| // static
|
| -void PromoHandler::RegisterUserPrefs(PrefServiceSyncable* prefs) {
|
| - prefs->RegisterBooleanPref(prefs::kNtpPromoDesktopSessionFound,
|
| - false,
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| +void PromoHandler::RegisterUserPrefs(PrefRegistrySyncable* registry) {
|
| + registry->RegisterBooleanPref(prefs::kNtpPromoDesktopSessionFound,
|
| + false,
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| }
|
|
|
| void PromoHandler::Observe(int type,
|
|
|