Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1994)

Unified Diff: chrome/browser/pepper_flash_settings_manager.cc

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/pepper_flash_settings_manager.cc
diff --git a/chrome/browser/pepper_flash_settings_manager.cc b/chrome/browser/pepper_flash_settings_manager.cc
index 7dad61977f7e9be25dbb39efea93d46a3f4bba48..eb64b49fe8cbbf2fe4218494d804b2bf70187422 100644
--- a/chrome/browser/pepper_flash_settings_manager.cc
+++ b/chrome/browser/pepper_flash_settings_manager.cc
@@ -970,15 +970,9 @@ bool PepperFlashSettingsManager::IsPepperFlashInUse(
// static
void PepperFlashSettingsManager::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
- registry->RegisterBooleanPref(
- prefs::kDeauthorizeContentLicenses,
- false,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
-
- registry->RegisterBooleanPref(
- prefs::kPepperFlashSettingsEnabled,
- true,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterBooleanPref(prefs::kDeauthorizeContentLicenses, false);
+
+ registry->RegisterBooleanPref(prefs::kPepperFlashSettingsEnabled, true);
}
uint32 PepperFlashSettingsManager::DeauthorizeContentLicenses(
« no previous file with comments | « chrome/browser/password_manager/password_store_factory.cc ('k') | chrome/browser/plugins/plugin_prefs_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698