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

Issue 42306: Make startup_tests build and work on Mac. (Closed)

Created:
11 years, 9 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make startup_tests build and work on Mac. Also ensure that Chromium.app quits properly between the tests. http://crbug.com/8391 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=11998

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixes #

Patch Set 3 : added TODO #

Total comments: 3

Patch Set 4 : add app dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -47 lines) Patch
M chrome/browser/automation/automation_provider_list.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/automation/automation_provider_list.cc View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/automation/automation_provider_list_generic.cc View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/browser/automation/automation_provider_list_mac.mm View 1 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/browser.scons View 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/browser.vcproj View 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 7 chunks +33 lines, -45 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/startup/startup_test.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Paweł Hajdan Jr.
Please review: pinkerton: Mac things mark: gyp changes (I don't know how to ensure that ...
11 years, 9 months ago (2009-03-17 21:30:40 UTC) #1
Mark Mentovai
http://codereview.chromium.org/42306/diff/1/5 File chrome/browser/automation/automation_provider_list_mac.mm (right): http://codereview.chromium.org/42306/diff/1/5#newcode7 Line 7: #include "chrome/browser/app_controller_mac.h" This header (but not the other) ...
11 years, 9 months ago (2009-03-17 21:39:50 UTC) #2
TVL
http://codereview.chromium.org/42306/diff/1/7 File chrome/common/chrome_constants.cc (right): http://codereview.chromium.org/42306/diff/1/7#newcode20 Line 20: const wchar_t kBrowserProcessExecutableName[] = L"Chromium.app/Contents/MacOS/Chromium"; On 2009/03/17 21:39:50, ...
11 years, 9 months ago (2009-03-17 21:45:58 UTC) #3
Paweł Hajdan Jr.
On 2009/03/17 21:39:50, Mark Mentovai wrote: > http://codereview.chromium.org/42306/diff/1/5 > File chrome/browser/automation/automation_provider_list_mac.mm (right): > > http://codereview.chromium.org/42306/diff/1/5#newcode7 ...
11 years, 9 months ago (2009-03-18 16:06:56 UTC) #4
Mark Mentovai
OK, looks good
11 years, 9 months ago (2009-03-18 16:13:04 UTC) #5
pink (ping after 24hrs)
LGTM http://codereview.chromium.org/42306/diff/1008/33 File chrome/browser/automation/automation_provider_list_mac.mm (right): http://codereview.chromium.org/42306/diff/1008/33#newcode7 Line 7: #import "chrome/browser/app_controller_mac.h" you may be able to ...
11 years, 9 months ago (2009-03-18 18:08:12 UTC) #6
Nirnimesh
http://codereview.chromium.org/42306/diff/1008/36 File chrome/chrome.gyp (right): http://codereview.chromium.org/42306/diff/1008/36#newcode2154 Line 2154: 'dependencies': [ You should add 'app' as a ...
11 years, 9 months ago (2009-03-18 18:10:57 UTC) #7
Mark Mentovai
http://codereview.chromium.org/42306/diff/1008/36 File chrome/chrome.gyp (right): http://codereview.chromium.org/42306/diff/1008/36#newcode2154 Line 2154: 'dependencies': [ Nirnimesh wrote: > You should add ...
11 years, 9 months ago (2009-03-18 18:13:29 UTC) #8
Paweł Hajdan Jr.
11 years, 9 months ago (2009-03-18 19:10:08 UTC) #9
On 2009/03/18 18:08:12, pink wrote:
> LGTM
> 
> http://codereview.chromium.org/42306/diff/1008/33
> File chrome/browser/automation/automation_provider_list_mac.mm (right):
> 
> http://codereview.chromium.org/42306/diff/1008/33#newcode7
> Line 7: #import "chrome/browser/app_controller_mac.h"
> you may be able to omit this. give it a try w/out it and see if you can.

It fails without this header so I left it in. It might be fixed by including
just some Cocoa header, but for simplicity...

Powered by Google App Engine
This is Rietveld 408576698