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

Issue 136633005: Turn back spoken feedback setting into a system-wide (non-per-user) preference (Closed)

Created:
6 years, 11 months ago by yoshiki
Modified:
6 years, 8 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Turn back spoken feedback setting into a system-wide (non-per-user) preference This patch makes the spoken feedback pref system-wide. As result of it, the device has only one local (non-syncable) preference and all screens (login, user and lock screens) share it. Any user can change it unless the policy doesn't prohibit it. And this patch also makes the 'DeviceLoginScreenDefaultSpokenFeedbackEnabled' policy deprecated, because we use the same pref store on all screens including lock screen, so we don't need the login-screen specific setting. BUG=320890 TEST=manually tested on lumpy and chromeos_linux, browsertest/unittest pass.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -229 lines) Patch
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 10 chunks +23 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc View 6 chunks +15 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/policy/login_profile_policy_provider.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc View 2 chunks +0 lines, -48 lines 0 comments Download
M chrome/browser/chromeos/policy/recommendation_restorer.h View 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/recommendation_restorer.cc View 5 chunks +43 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc View 15 chunks +180 lines, -114 lines 0 comments Download
M chrome/browser/chromeos/preferences.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/preferences.cc View 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 chunk +0 lines, -3 lines 1 comment Download
M chrome/test/data/policy/policy_test_cases.json View 1 chunk +1 line, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 2 chunks +6 lines, -2 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
yoshiki
achuith@ - Please review chrome/browser/chromeos/preferences.h/.cc. This patch makes pref::kSpokenFeedback system-wide. dmazzoni@ - Please review accessibility_manager.cc/.h/_browsertest.cc. ...
6 years, 11 months ago (2014-01-16 14:34:40 UTC) #1
yoshiki
+dtseng@ - Since dmazzoni@ seems ooo now, could you take a look at accessibility_manager.cc/.h/_browsertest.cc? Thanks.
6 years, 11 months ago (2014-01-16 14:37:44 UTC) #2
achuithb
lgtm for c/b/cros/preferences.*
6 years, 11 months ago (2014-01-16 22:46:57 UTC) #3
dconnelly
https://codereview.chromium.org/136633005/diff/570001/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/136633005/diff/570001/components/policy/resources/policy_templates.json#newcode5346 components/policy/resources/policy_templates.json:5346: If you set this policy, users can temporarily override ...
6 years, 11 months ago (2014-01-17 11:05:34 UTC) #4
Mattias Nissler (ping if slow)
Bartosz should take a look at this as well, since he implemented the policy pieces. ...
6 years, 11 months ago (2014-01-17 12:37:22 UTC) #5
bartfab (slow)
6 years, 11 months ago (2014-01-17 12:54:31 UTC) #6
On 2014/01/17 12:37:22, Mattias Nissler wrote:
> Bartosz should take a look at this as well, since he implemented the policy
> pieces.
> 
>
https://codereview.chromium.org/136633005/diff/570001/chrome/browser/policy/c...
> File chrome/browser/policy/configuration_policy_handler_list_factory.cc
(left):
> 
>
https://codereview.chromium.org/136633005/diff/570001/chrome/browser/policy/c...
> chrome/browser/policy/configuration_policy_handler_list_factory.cc:424:
> base::Value::TYPE_BOOLEAN },
> I don't think removing the policy is a good idea, since that means policy can
no
> longer set a value for the login screen.

I understand the reason for turning this back into a per-device setting. But the
current implementation won't quite work: For kiosk-type deployments, we need a
way for things to return to a default configuration whenever a user logs out and
the device returns to the login screen. This is what the login screen policy
does right now. We need to maintain this functionality.

Powered by Google App Engine
This is Rietveld 408576698