Index: chrome/browser/accessibility/animation_policy_prefs.cc |
diff --git a/chrome/browser/accessibility/animation_policy_prefs.cc b/chrome/browser/accessibility/animation_policy_prefs.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0dc4f426c46909fd6c14aba5d3dbdc5ba106d090 |
--- /dev/null |
+++ b/chrome/browser/accessibility/animation_policy_prefs.cc |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/accessibility/animation_policy_prefs.h" |
+ |
+#include "chrome/common/pref_names.h" |
+#include "components/pref_registry/pref_registry_syncable.h" |
+ |
+namespace chrome { |
+ |
+void RegisterAnimationPolicyPrefs(user_prefs::PrefRegistrySyncable* registry) { |
+ registry->RegisterStringPref(prefs::kAnimationPolicy, "allowed", |
dmazzoni
2015/01/27 06:52:41
Can you use a string constant instead of "allowed"
je_julie(Not used)
2015/01/28 04:42:00
Done.
|
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
+} |
+ |
+} // namespace chrome |