Index: chrome/browser/profiles/profile.cc |
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
index 17f3723ca554170b330b3cc6e4f2d92a634d9f28..6e98ec73206de54bdb72e37915efa6bba0bc56eb 100644 |
--- a/chrome/browser/profiles/profile.cc |
+++ b/chrome/browser/profiles/profile.cc |
@@ -65,6 +65,8 @@ Profile::Delegate::~Delegate() { |
// static |
const char Profile::kProfileKey[] = "__PROFILE__"; |
+// This must be a string which can never be a valid domain. |
+const char Profile::kNoHostedDomainFound[] = "NO_HOSTED_DOMAIN"; |
// static |
void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
@@ -155,6 +157,14 @@ void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
prefs::kProfileIconVersion, |
0, |
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ registry->RegisterStringPref( |
+ prefs::kProfileHostedDomain, |
+ std::string(), |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ registry->RegisterIntegerPref( |
+ prefs::kProfileIsLockableVersion, |
+ 0, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
#if defined(OS_CHROMEOS) |
// TODO(dilmah): For OS_CHROMEOS we maintain kApplicationLocale in both |
// local state and user's profile. For other platforms we maintain |