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

Issue 8854001: Honor profile directory when creating new window in existing browser (Closed)

Created:
9 years ago by sail
Modified:
9 years ago
Reviewers:
Robert Sesek, sky
CC:
chromium-reviews
Visibility:
Public.

Description

Honor profile directory when creating new window in existing browser Using the "-profile-directory" switch didn't work if the browser was already running. The problem was that we were ignoring the switch and just using the last used profile. BUG=100461 TEST=Ran Chrome with the first profile open. Launched a 2nd instance with "-profile-directory" and verified that the correct profile window opened. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113534

Patch Set 1 #

Total comments: 5

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -36 lines) Patch
M chrome/browser/process_singleton_linux.cc View 1 2 chunks +2 lines, -13 lines 0 comments Download
M chrome/browser/process_singleton_win.cc View 1 2 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/ui/browser_init.h View 1 3 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sail
9 years ago (2011-12-07 17:43:08 UTC) #1
Robert Sesek
I'm not familiar enough with this code to do an adequate review.
9 years ago (2011-12-07 18:14:53 UTC) #2
sky
http://codereview.chromium.org/8854001/diff/1/chrome/browser/ui/browser_init.cc File chrome/browser/ui/browser_init.cc (right): http://codereview.chromium.org/8854001/diff/1/chrome/browser/ui/browser_init.cc#newcode1525 chrome/browser/ui/browser_init.cc:1525: ProcessCmdLineImpl(cmd_line, cur_dir, false, profile, NULL, NULL); Seems like you ...
9 years ago (2011-12-07 18:28:54 UTC) #3
sail
http://codereview.chromium.org/8854001/diff/1/chrome/browser/ui/browser_init.cc File chrome/browser/ui/browser_init.cc (right): http://codereview.chromium.org/8854001/diff/1/chrome/browser/ui/browser_init.cc#newcode1525 chrome/browser/ui/browser_init.cc:1525: ProcessCmdLineImpl(cmd_line, cur_dir, false, profile, NULL, NULL); On 2011/12/07 18:28:55, ...
9 years ago (2011-12-07 18:34:59 UTC) #4
sky
LGTM
9 years ago (2011-12-07 21:55:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8854001/5001
9 years ago (2011-12-07 22:27:48 UTC) #6
commit-bot: I haz the power
9 years ago (2011-12-08 02:21:22 UTC) #7
Change committed as 113534

Powered by Google App Engine
This is Rietveld 408576698