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

Issue 2772673002: mash: switch to the new pref service (Closed)

Created:
3 years, 9 months ago by tibell
Modified:
3 years, 8 months ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: use the new prefs service Adds ActiveProfilePrefService to allow mash, which currently supports only one profile and runs its services as the root user, to talk to that profile. Replaces PreferencesConnectionManager, which achieves the equivalent goal in the old pref service. BUG=654988 Review-Url: https://codereview.chromium.org/2772673002 Cr-Commit-Position: refs/heads/master@{#460604} Committed: https://chromium.googlesource.com/chromium/src/+/b93c729b78b6b59a5953215c2fbe6fcb551717e1

Patch Set 1 #

Patch Set 2 : Connecting to the service now works #

Patch Set 3 : Rebased on top of outstanding CLs #

Patch Set 4 : Remove no longer needed tests #

Total comments: 42

Patch Set 5 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -67 lines) Patch
M ash/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/manifest.json View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.h View 1 2 3 4 5 chunks +7 lines, -6 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 chunks +19 lines, -8 lines 0 comments Download
M chrome/app/BUILD.gn View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/preferences_chromeos_browsertest.cc View 1 2 3 1 chunk +0 lines, -39 lines 0 comments Download
A chrome/browser/prefs/active_profile_pref_service.h View 1 2 3 4 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/prefs/active_profile_pref_service.cc View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/prefs/forwarder_manifest.json View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/prefs/profile_pref_store_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M services/preferences/public/cpp/pref_service_factory.h View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M services/preferences/public/cpp/pref_service_factory.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M services/preferences/public/interfaces/preferences.mojom View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 54 (32 generated)
tibell
Connecting to the service now works
3 years, 9 months ago (2017-03-23 06:45:53 UTC) #1
tibell
Please take a first pass.
3 years, 9 months ago (2017-03-27 03:38:35 UTC) #9
tibell
jonross@chromium.org: Please review changes in - ash/ sky@chromium.org: Please review changes in - chrome/ (I'm ...
3 years, 9 months ago (2017-03-27 03:53:31 UTC) #15
tibell
mbarbella@chromium.org please look at - mojom - ActiveProfilePrefService - this class is needed to allow ...
3 years, 9 months ago (2017-03-27 03:55:19 UTC) #17
tibell
Remove no longer needed tests
3 years, 9 months ago (2017-03-27 03:59:34 UTC) #18
Sam McNally
https://codereview.chromium.org/2772673002/diff/60001/chrome/app/BUILD.gn File chrome/app/BUILD.gn (right): https://codereview.chromium.org/2772673002/diff/60001/chrome/app/BUILD.gn#newcode369 chrome/app/BUILD.gn:369: "//services/preferences:forwarder_manifest", if (is_chromeos) https://codereview.chromium.org/2772673002/diff/60001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2772673002/diff/60001/chrome/browser/BUILD.gn#newcode960 chrome/browser/BUILD.gn:960: ...
3 years, 9 months ago (2017-03-27 05:42:11 UTC) #23
jonross
https://codereview.chromium.org/2772673002/diff/60001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/2772673002/diff/60001/ash/shell.cc#newcode780 ash/shell.cc:780: if (wm_shell_->IsRunningInMash() && shell_delegate_->GetShellConnector()) { More detailed notes given ...
3 years, 9 months ago (2017-03-27 14:26:38 UTC) #24
sky
https://codereview.chromium.org/2772673002/diff/60001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/2772673002/diff/60001/ash/shell.cc#newcode780 ash/shell.cc:780: if (wm_shell_->IsRunningInMash() && shell_delegate_->GetShellConnector()) { How come the pref-service ...
3 years, 9 months ago (2017-03-27 16:00:11 UTC) #25
tibell
Address review comments
3 years, 9 months ago (2017-03-28 00:32:59 UTC) #26
tibell
PTAL jonross@chromium.org: the most important thing I need from you is to know which predicate ...
3 years, 9 months ago (2017-03-28 00:34:32 UTC) #29
sky
LGTM
3 years, 9 months ago (2017-03-28 03:45:20 UTC) #32
jonross
On 2017/03/28 03:45:20, sky wrote: > LGTM I replied to tibell@ comments discussing how to ...
3 years, 8 months ago (2017-03-28 13:57:16 UTC) #33
jonross
https://codereview.chromium.org/2772673002/diff/60001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/2772673002/diff/60001/ash/shell.cc#newcode780 ash/shell.cc:780: if (wm_shell_->IsRunningInMash() && shell_delegate_->GetShellConnector()) { On 2017/03/28 00:34:31, tibell ...
3 years, 8 months ago (2017-03-28 13:57:26 UTC) #34
Martin Barbella
mojom lgtm
3 years, 8 months ago (2017-03-28 17:14:16 UTC) #35
Sam McNally
lgtm
3 years, 8 months ago (2017-03-28 23:09:52 UTC) #36
tibell
Going ahead and submitting as soon as the dependent CLs land. https://codereview.chromium.org/2772673002/diff/60001/ash/shell.cc File ash/shell.cc (right): ...
3 years, 8 months ago (2017-03-29 02:59:15 UTC) #41
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/2772673002/80001
3 years, 8 months ago (2017-03-29 04:19:18 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/397204)
3 years, 8 months ago (2017-03-29 04:27:48 UTC) #45
tibell
Hi bauerb@chromium.org! I missed that I need approval for DEPS on components/pref.
3 years, 8 months ago (2017-03-29 04:44:48 UTC) #47
Bernhard Bauer
DEPS change LGTM.
3 years, 8 months ago (2017-03-29 08:47:44 UTC) #48
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/2772673002/80001
3 years, 8 months ago (2017-03-29 22:22:39 UTC) #50
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 00:52:09 UTC) #54
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/b93c729b78b6b59a5953215c2fbe...

Powered by Google App Engine
This is Rietveld 408576698