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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 136633005: Turn back spoken feedback setting into a system-wide (non-per-user) preference (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/extensions/api/messaging/native_messaging_policy_handle r.h" 10 #include "chrome/browser/extensions/api/messaging/native_messaging_policy_handle r.h"
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 base::Value::TYPE_BOOLEAN }, 412 base::Value::TYPE_BOOLEAN },
413 { key::kSpokenFeedbackEnabled, 413 { key::kSpokenFeedbackEnabled,
414 prefs::kSpokenFeedbackEnabled, 414 prefs::kSpokenFeedbackEnabled,
415 base::Value::TYPE_BOOLEAN }, 415 base::Value::TYPE_BOOLEAN },
416 { key::kHighContrastEnabled, 416 { key::kHighContrastEnabled,
417 prefs::kHighContrastEnabled, 417 prefs::kHighContrastEnabled,
418 base::Value::TYPE_BOOLEAN }, 418 base::Value::TYPE_BOOLEAN },
419 { key::kDeviceLoginScreenDefaultLargeCursorEnabled, 419 { key::kDeviceLoginScreenDefaultLargeCursorEnabled,
420 NULL, 420 NULL,
421 base::Value::TYPE_BOOLEAN }, 421 base::Value::TYPE_BOOLEAN },
422 { key::kDeviceLoginScreenDefaultSpokenFeedbackEnabled,
423 NULL,
424 base::Value::TYPE_BOOLEAN },
Mattias Nissler (ping if slow) 2014/01/17 12:37:23 I don't think removing the policy is a good idea,
425 { key::kDeviceLoginScreenDefaultHighContrastEnabled, 422 { key::kDeviceLoginScreenDefaultHighContrastEnabled,
426 NULL, 423 NULL,
427 base::Value::TYPE_BOOLEAN }, 424 base::Value::TYPE_BOOLEAN },
428 { key::kRebootAfterUpdate, 425 { key::kRebootAfterUpdate,
429 prefs::kRebootAfterUpdate, 426 prefs::kRebootAfterUpdate,
430 base::Value::TYPE_BOOLEAN }, 427 base::Value::TYPE_BOOLEAN },
431 { key::kAttestationEnabledForUser, 428 { key::kAttestationEnabledForUser,
432 prefs::kAttestationEnabled, 429 prefs::kAttestationEnabled,
433 base::Value::TYPE_BOOLEAN }, 430 base::Value::TYPE_BOOLEAN },
434 { key::kChromeOsMultiProfileUserBehavior, 431 { key::kChromeOsMultiProfileUserBehavior,
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 658
662 #if defined(OS_ANDROID) 659 #if defined(OS_ANDROID)
663 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( 660 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>(
664 new ManagedBookmarksPolicyHandler())); 661 new ManagedBookmarksPolicyHandler()));
665 #endif 662 #endif
666 return handlers.Pass(); 663 return handlers.Pass();
667 } 664 }
668 #endif // !defined(OS_IOS) 665 #endif // !defined(OS_IOS)
669 666
670 } // namespace policy 667 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698