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

Issue 18421007: [win] Set the profile path when enabling the app launcher. (Closed)

Created:
7 years, 5 months ago by tapted
Modified:
7 years, 5 months ago
Reviewers:
xiyuan, benwells
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, extensions-reviews_chromium.org, sadrul, ben+watch_chromium.org, tfarina, dbeam+watch-options_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

[win] Set the profile path when enabling the app launcher. On windows, when enabling the app launcher for the first time via the webstore the app launcher is not shown, and if you switch to a different profile and exit the browser before activiating the app launcher for the first time, it can show a different profile. This passes the profile responsible for enabling the app launcher through to platform-specific enabling code, which then ensures the profile path is saved to the local prefs. BUG=259654 TEST=On windows, in a fresh user-data-dir, make two users and leave browser windows open. Install an app from the webstore using the second user after signing in. Close that browser. Close the first browser. Launch the app launcher. Launcher should show the second user, with apps, and not a sign in page for the first user. TBR=xiyuan@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211624

Patch Set 1 #

Patch Set 2 : refine #

Patch Set 3 : rebase, and fix a few things #

Total comments: 7

Patch Set 4 : Don't allow EnableAppList to occur on mac yet #

Patch Set 5 : rebase (╯°□°)╯︵ ┻━┻ #

Patch Set 6 : minmal? #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -12 lines) Patch
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_list_service_disabled.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_list_service_mac.mm View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_service_ash.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/app_list/app_list_controller_win.cc View 1 2 3 4 5 4 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tapted
https://codereview.chromium.org/18421007/diff/19001/apps/app_launcher.cc File apps/app_launcher.cc (left): https://codereview.chromium.org/18421007/diff/19001/apps/app_launcher.cc#oldcode28 apps/app_launcher.cc:28: #if defined(USE_ASH) guarding the next two lines doesn't really ...
7 years, 5 months ago (2013-07-11 06:54:45 UTC) #1
tapted
https://codereview.chromium.org/18421007/diff/19001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (left): https://codereview.chromium.org/18421007/diff/19001/chrome/common/chrome_switches.cc#oldcode265 chrome/common/chrome_switches.cc:265: // Replaces the audio IPC layer for <audio> and ...
7 years, 5 months ago (2013-07-11 07:02:02 UTC) #2
benwells
https://codereview.chromium.org/18421007/diff/19001/apps/app_launcher.cc File apps/app_launcher.cc (right): https://codereview.chromium.org/18421007/diff/19001/apps/app_launcher.cc#newcode22 apps/app_launcher.cc:22: bool IsAppLauncherEnabled() { On 2013/07/11 06:54:45, tapted wrote: > ...
7 years, 5 months ago (2013-07-12 01:41:47 UTC) #3
tapted
PTAL - this now doesn't expose the EnableAppList flow on OSX. Instead it's about decoupling ...
7 years, 5 months ago (2013-07-12 04:58:27 UTC) #4
tapted
I think this is the minimal change. I've moved the rest to http://crrev.com/19091003 and http://crrev.com/18736003 ...
7 years, 5 months ago (2013-07-12 08:56:58 UTC) #5
benwells
lgtm
7 years, 5 months ago (2013-07-15 01:05:50 UTC) #6
tapted
TBR xiyuan for refactoring change in app_list_service_ash.cc that is mechanical in nature. ** Presubmit ERRORS ...
7 years, 5 months ago (2013-07-15 01:22:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/18421007/81001
7 years, 5 months ago (2013-07-15 01:22:55 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-15 09:42:49 UTC) #9
Message was sent while issue was closed.
Change committed as 211624

Powered by Google App Engine
This is Rietveld 408576698