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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 785723002: Add new extension APIs related to animation policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary code Created 6 years 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/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 414aae3b9c13e2787bb1c91bd89fb2f75e6d2594..67792ec3998039b4f064682ce6697e4d6034fdb1 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -193,6 +193,9 @@ void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
0,
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
#endif
+
+ registry->RegisterStringPref(prefs::kAnimationPolicy, "allowed",
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
}
std::string Profile::GetDebugName() {

Powered by Google App Engine
This is Rietveld 408576698