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

Issue 2802093005: Have ActiveProfilePrefService Use the Original Profile (Closed)

Created:
3 years, 8 months ago by jonross
Modified:
3 years, 8 months ago
CC:
chromium-reviews, kalyank, jam, sadrul, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Have ActiveProfilePrefService Use the Original Profile ActiveProfilePrefService attempts to bind connections to the active profile. However Incognito profiles do not register with the preference service. This was leading to ServiceManagerConnectionImpl rejecting the connection, as there was no registered service. This change switches to using the original profile for the connection. Incognito profile is backed by a base ProfileImpl. All ProfileImpl properly register as a service. This change also reenables the ash::shell connection to the pref service. This change also reverts https://codereview.chromium.org/2795413002 which was landed to deal with possible race condition of request handlers. However this was not the root cause. TESTING=device actually boots now, ash::shell receives its connection to prefs. User can login. BUG=707321 Review-Url: https://codereview.chromium.org/2802093005 Cr-Commit-Position: refs/heads/master@{#462997} Committed: https://chromium.googlesource.com/chromium/src/+/c4ba106074379b272a5a33bde847ec1db40383bf

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -31 lines) Patch
M ash/shell.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/prefs/active_profile_pref_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/service_manager/service_manager_connection_impl.cc View 4 chunks +2 lines, -27 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
jonross
Hey sky@ Could you take a look at this review? It's an update to the ...
3 years, 8 months ago (2017-04-07 17:09:38 UTC) #2
sky
LGTM
3 years, 8 months ago (2017-04-07 17:24:00 UTC) #3
jonross
ben@chromium.org: Please review changes in content/common/service_manager/service_manager_connection_impl.cc I'm reverting the changes you reviews in https://codereview.chromium.org/2795413002 as ...
3 years, 8 months ago (2017-04-07 17:34:28 UTC) #5
Ben Goodger (Google)
lgtm
3 years, 8 months ago (2017-04-07 19:38:28 UTC) #6
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/2802093005/1
3 years, 8 months ago (2017-04-07 19:40:33 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 20:57:17 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/c4ba106074379b272a5a33bde847...

Powered by Google App Engine
This is Rietveld 408576698