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

Issue 5703004: Fix extension packer command-line code for Mac (Closed)

Created:
10 years ago by Bons
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Fix extension packer command-line code for Mac. Instead of blocking in a janky way by running the message loop, I added an option to run the extension packer job synchronously. One thing to note as it pertains to the bug report is that the path must be fully qualified. ~/ for home directories doesn't work for me. BUG=65645 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69073

Patch Set 1 #

Patch Set 2 : Fixed it #

Patch Set 3 : Fix some lint errors. #

Total comments: 8

Patch Set 4 : Addressed mento's comments and fixed win compile error. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -101 lines) Patch
M chrome/browser/browser_main.cc View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extensions_startup.h View 1 2 3 1 chunk +29 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extensions_startup.cc View 1 2 3 3 chunks +37 lines, -68 lines 0 comments Download
M chrome/browser/extensions/pack_extension_job.h View 1 2 3 3 chunks +7 lines, -3 lines 1 comment Download
M chrome/browser/extensions/pack_extension_job.cc View 1 2 3 3 chunks +26 lines, -14 lines 0 comments Download
M chrome/browser/process_singleton_win.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/result_codes.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Bons
Hey Mark, Maybe you can tell me what I'm doing that is so idiotic? It's ...
10 years ago (2010-12-13 13:30:57 UTC) #1
Mark Mentovai
LG otherwise. http://codereview.chromium.org/5703004/diff/6001/chrome/browser/browser_main.cc File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/5703004/diff/6001/chrome/browser/browser_main.cc#newcode1279 chrome/browser/browser_main.cc:1279: return ResultCodes::NORMAL_EXIT; Check PackExtension’s return value and ...
10 years ago (2010-12-13 20:44:46 UTC) #2
Bons
Fixed these and the other issues mento and I talked about. http://codereview.chromium.org/5703004/diff/6001/chrome/browser/extensions/pack_extension_job.h File chrome/browser/extensions/pack_extension_job.h (right): ...
10 years ago (2010-12-13 22:08:26 UTC) #3
Mark Mentovai
LGTM http://codereview.chromium.org/5703004/diff/11001/chrome/browser/extensions/pack_extension_job.h File chrome/browser/extensions/pack_extension_job.h (right): http://codereview.chromium.org/5703004/diff/11001/chrome/browser/extensions/pack_extension_job.h#newcode48 chrome/browser/extensions/pack_extension_job.h:48: bool asynchronous() { return asynchronous_; } Should be ...
10 years ago (2010-12-13 22:11:56 UTC) #4
Aaron Boodman
10 years ago (2010-12-13 23:37:45 UTC) #5
I like this solution. Let me know if you want me to review something in
particular.

Powered by Google App Engine
This is Rietveld 408576698