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

Issue 160331: Ensure we have a valid profile when using BrowserInit::LaunchWithProfile::Ope... (Closed)

Created:
11 years, 4 months ago by pink (ping after 24hrs)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Ensure we have a valid profile when using BrowserInit::LaunchWithProfile::OpenURLsInBrowser() directly and the browser passed in is a popup window. BUG=17520 TEST=see bug.

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -3 lines) Patch
M chrome/browser/browser_init.cc View 1 4 chunks +15 lines, -3 lines 0 comments Download
A chrome/browser/browser_init_browsertest.cc View 1 chunk +42 lines, -0 lines 2 comments Download
M chrome/chrome.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
pink (ping after 24hrs)
11 years, 4 months ago (2009-07-29 16:52:32 UTC) #1
brettw
http://codereview.chromium.org/160331/diff/1/2 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/160331/diff/1/2#newcode563 Line 563: profile_ = browser->profile(); I'm thinking of putting this ...
11 years, 4 months ago (2009-07-29 17:17:01 UTC) #2
brettw
http://codereview.chromium.org/160331/diff/1/2 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/160331/diff/1/2#newcode563 Line 563: profile_ = browser->profile(); Okay, I was wrong, can ...
11 years, 4 months ago (2009-07-29 17:48:21 UTC) #3
Avi (use Gerrit)
brettw— Did you LGTM this? Right now browser tests are broken in general, so I ...
11 years, 4 months ago (2009-08-05 19:20:01 UTC) #4
brettw
I was waiting for the test, which it looks like pink added and forgot to ...
11 years, 4 months ago (2009-08-07 16:38:24 UTC) #5
brettw
LGTM http://codereview.chromium.org/160331/diff/1004/1006 File chrome/browser/browser_init_browsertest.cc (right): http://codereview.chromium.org/160331/diff/1004/1006#newcode1 Line 1: // Copyright (c) 2006-2008 The Chromium Authors. ...
11 years, 4 months ago (2009-08-07 16:39:41 UTC) #6
Avi (use Gerrit)
On 2009/08/07 16:38:24, brettw wrote: > I was waiting for the test, which it looks ...
11 years, 4 months ago (2009-08-07 17:33:42 UTC) #7
Avi (use Gerrit)
BTW, this seems to break the UI test SecondLaunch. Working on it.
11 years, 4 months ago (2009-08-10 19:15:29 UTC) #8
Avi (use Gerrit)
Brett— This is a problem. In SecondLaunch, when the second launch ends up calling OpenURLsInBrowser, ...
11 years, 4 months ago (2009-08-10 21:16:01 UTC) #9
Avi (use Gerrit)
On 2009/08/10 21:16:01, Avi wrote: > BrowserList::GetLastActive keeps returning null. ... and that's because that's ...
11 years, 4 months ago (2009-08-10 21:28:25 UTC) #10
brettw
On 2009/08/10 21:28:25, Avi wrote: > On 2009/08/10 21:16:01, Avi wrote: > > BrowserList::GetLastActive keeps ...
11 years, 4 months ago (2009-08-10 23:21:47 UTC) #11
Avi (use Gerrit)
On 2009/08/10 23:21:47, brettw wrote: > You can do > whatever necessary manually in the ...
11 years, 4 months ago (2009-08-11 16:19:39 UTC) #12
Avi (use Gerrit)
I'm not sure what the point is. Why go to a lot of trouble to ...
11 years, 4 months ago (2009-08-11 16:21:22 UTC) #13
brettw
This is not a test of activation. This is a test of launching a new ...
11 years, 4 months ago (2009-08-11 16:23:39 UTC) #14
Avi (use Gerrit)
On 2009/08/11 16:23:39, brettw wrote: > This is not a test of activation. This is ...
11 years, 4 months ago (2009-08-11 16:36:08 UTC) #15
brettw
I thought it got the target from the currently active one. Another approach would be ...
11 years, 4 months ago (2009-08-11 16:38:48 UTC) #16
Avi (use Gerrit)
On 2009/08/11 16:38:48, brettw wrote: > I thought it got the target from the currently ...
11 years, 4 months ago (2009-08-11 16:43:17 UTC) #17
Avi (use Gerrit)
11 years, 4 months ago (2009-08-11 20:33:47 UTC) #18

Powered by Google App Engine
This is Rietveld 408576698