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

Issue 9351014: Mac app mode: locate Chrome + refactor (Closed)

Created:
8 years, 10 months ago by jeremy
Modified:
8 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Mac app mode: locate Chrome + refactor * Add code to locate the Chrome bundle + unit tests. * Refactor app_mode_app to use the new code, also now we can use stuff from base, remove hacks from the code. BUG=None TEST=Unit tests should pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121693

Patch Set 1 #

Patch Set 2 : Misc. fixes #

Total comments: 30

Patch Set 3 : Fix review comments. #

Total comments: 5

Patch Set 4 : Patch for landing #

Patch Set 5 : Path for landing1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -109 lines) Patch
M chrome/app/app_mode_loader_mac.mm View 1 2 3 4 1 chunk +76 lines, -99 lines 0 comments Download
M chrome/app/chrome_main_app_mode_mac.mm View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/common/mac/app_mode_chrome_locator.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/common/mac/app_mode_chrome_locator.mm View 1 2 3 4 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/common/mac/app_mode_chrome_locator_unittest.mm View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
M chrome/common/mac/app_mode_common.h View 1 2 3 3 chunks +13 lines, -6 lines 0 comments Download
M chrome/common/mac/app_mode_common.mm View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jeremy
Mark: base/file_util.h sail: Everything else. Please note that app_mode_loader_mac.mm is still in an interim state, ...
8 years, 10 months ago (2012-02-07 14:13:56 UTC) #1
jeremy
avi: Owner review for content/common/sandbox_mac_diraccess_unittest.mm .
8 years, 10 months ago (2012-02-07 14:15:07 UTC) #2
sail
LGTM!
8 years, 10 months ago (2012-02-07 17:13:26 UTC) #3
Mark Mentovai
https://chromiumcodereview.appspot.com/9351014/diff/1001/chrome/app/app_mode_loader_mac.mm File chrome/app/app_mode_loader_mac.mm (right): https://chromiumcodereview.appspot.com/9351014/diff/1001/chrome/app/app_mode_loader_mac.mm#newcode33 chrome/app/app_mode_loader_mac.mm:33: NSBundle* app_bundle = [NSBundle mainBundle]; Didn’t you add your ...
8 years, 10 months ago (2012-02-07 17:28:06 UTC) #4
Mark Mentovai
sail@chromium.org wrote: > LGTM! I don’t mean to pick on either of you, and I ...
8 years, 10 months ago (2012-02-07 17:35:12 UTC) #5
sail
> I’m just wondering how it is that I had many questions based > on ...
8 years, 10 months ago (2012-02-07 17:43:27 UTC) #6
Mark Mentovai
https://chromiumcodereview.appspot.com/9351014/diff/1001/base/file_util.h File base/file_util.h (right): https://chromiumcodereview.appspot.com/9351014/diff/1001/base/file_util.h#newcode441 base/file_util.h:441: // A class to handle auto-deleting a directory. Would ...
8 years, 10 months ago (2012-02-07 19:36:42 UTC) #7
Avi (use Gerrit)
sandbox_mac_diraccess_unittest.mm LGTM provided you use ScopedTempDir as noted by Mark.
8 years, 10 months ago (2012-02-07 20:07:17 UTC) #8
jeremy
All fixed, ready for another look. https://chromiumcodereview.appspot.com/9351014/diff/1001/base/file_util.h File base/file_util.h (right): https://chromiumcodereview.appspot.com/9351014/diff/1001/base/file_util.h#newcode441 base/file_util.h:441: // A class ...
8 years, 10 months ago (2012-02-09 10:52:51 UTC) #9
sail
Second LGTM! A couple of NSString to FilePath and FilePath to NSString conversions can be ...
8 years, 10 months ago (2012-02-09 23:31:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremy@chromium.org/9351014/1003
8 years, 10 months ago (2012-02-13 10:14:48 UTC) #11
commit-bot: I haz the power
8 years, 10 months ago (2012-02-13 11:49:18 UTC) #12
Change committed as 121693

Powered by Google App Engine
This is Rietveld 408576698