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

Issue 2727813002: Options/MD Settings: use new prefs to drive import data dialog (Closed)

Created:
3 years, 9 months ago by Dan Beam
Modified:
3 years, 9 months ago
Reviewers:
gab, pastarmovj, dpapad
CC:
arv+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, dbeam+watch-options_chromium.org, dbeam+watch-settings_chromium.org, extensions-reviews_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Options/MD Settings: use new prefs to drive import data dialog Previously, first run and the import data dialog used the same prefs. This led to confusion and make it hard to change. This CL splits the import data dialog (chrome://settings/importData) to use a different set of prefs but continue to harness the same policies. R=gab@chromium.org,dpapad@chromium.org BUG=695611 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2727813002 Cr-Commit-Position: refs/heads/master@{#455149} Committed: https://chromium.googlesource.com/chromium/src/+/0b1f71dfa6f7dc388e7b7bec334c030b9d203e6e

Patch Set 1 #

Total comments: 4

Patch Set 2 : gab@ review #

Total comments: 2

Patch Set 3 : fix policy json #

Patch Set 4 : pastarmovj@ review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -54 lines) Patch
M chrome/browser/extensions/api/settings_private/prefs_util.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/import_data_overlay.html View 5 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/resources/options/import_data_overlay.js View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/people_page/import_data_dialog.html View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/people_page/import_data_dialog.js View 1 chunk +10 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/settings_import_data_handler.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/data/webui/settings/import_data_dialog_test.js View 3 chunks +7 lines, -10 lines 0 comments Download

Messages

Total messages: 30 (19 generated)
gab
Nice! lgtm if it works :) -- unless UI folks elect that unticked is better ...
3 years, 9 months ago (2017-03-02 01:47:33 UTC) #4
Dan Beam
+pastarmovj@ for chrome/browser/policy/OWNERS (and general thoughts) note: if we want to add new master_prefs for ...
3 years, 9 months ago (2017-03-02 02:00:58 UTC) #9
gab
On 2017/03/02 02:00:58, Dan Beam wrote: > +pastarmovj@ for chrome/browser/policy/OWNERS (and general thoughts) > > ...
3 years, 9 months ago (2017-03-02 07:25:35 UTC) #14
Dan Beam
ping pastarmovj@ I haven't had time enough to fully investigate the tests that are failing. ...
3 years, 9 months ago (2017-03-03 03:15:13 UTC) #15
pastarmovj
I don't think this is the most elegant solution but nothing better comes to mind ...
3 years, 9 months ago (2017-03-03 06:48:25 UTC) #16
dpapad
LGTM for WebUI related code.
3 years, 9 months ago (2017-03-07 01:39:41 UTC) #17
Dan Beam
https://codereview.chromium.org/2727813002/diff/40001/chrome/browser/policy/configuration_policy_handler_list_factory.cc File chrome/browser/policy/configuration_policy_handler_list_factory.cc (right): https://codereview.chromium.org/2727813002/diff/40001/chrome/browser/policy/configuration_policy_handler_list_factory.cc#newcode324 chrome/browser/policy/configuration_policy_handler_list_factory.cc:324: base::Value::Type::BOOLEAN }, On 2017/03/03 06:48:25, pastarmovj wrote: > nit: ...
3 years, 9 months ago (2017-03-07 02:44:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2727813002/80001
3 years, 9 months ago (2017-03-07 04:05:37 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/395585)
3 years, 9 months ago (2017-03-07 06:59:07 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2727813002/80001
3 years, 9 months ago (2017-03-07 15:57:11 UTC) #27
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 18:37:26 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0b1f71dfa6f7dc388e7b7bec334c...

Powered by Google App Engine
This is Rietveld 408576698