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

Issue 3077022: Extension package creation cleanup (Closed)

Created:
10 years, 4 months ago by isherman
Modified:
9 years, 7 months ago
CC:
chromium-reviews, kuchhal, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr.
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Extension package creation cleanup Unify extension package creation code between command line and GUI methods. Properly handle extension names with periods or trailing slashes. Don't DCHECK when creating packages from the command line. BUG=14720, 19103, 51110 TEST=run 'chrome --pack-extension=has.a.dot/' on an extension with period in its name; make sure it is packed correctly and a message indicating success is printed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55792

Patch Set 1 #

Patch Set 2 : Missed a file... now it should compile! #

Total comments: 4

Patch Set 3 : Now with proper threading #

Total comments: 6

Patch Set 4 : Now with moar unit tests #

Total comments: 2

Patch Set 5 : Quick indentation fix... #

Total comments: 2

Patch Set 6 : unit test tweaks #

Total comments: 9

Patch Set 7 : Style tweaks #

Patch Set 8 : Get unit tests a-workin' on Windows #

Patch Set 9 : This would be a lot easier if I could actually compile on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -85 lines) Patch
M chrome/browser/browser_init.cc View 1 2 3 4 5 4 chunks +63 lines, -51 lines 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 4 5 6 7 8 3 chunks +122 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extensions_ui.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extensions_ui.cc View 1 2 3 4 5 1 chunk +2 lines, -12 lines 0 comments Download
M chrome/browser/extensions/pack_extension_job.h View 1 2 3 4 5 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/extensions/pack_extension_job.cc View 1 2 3 4 5 3 chunks +33 lines, -7 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
isherman
This is still a WIP -- notably, it is abusing the threading system and needs ...
10 years, 4 months ago (2010-08-05 04:57:30 UTC) #1
Matt Perry
This is a good start, and close to what I had envisioned. We just need ...
10 years, 4 months ago (2010-08-05 22:16:30 UTC) #2
Matt Perry
Awesome! LGTM with small comment changes. http://codereview.chromium.org/3077022/diff/8001/9001 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/3077022/diff/8001/9001#newcode968 chrome/browser/browser_init.cc:968: MessageLoop::current()->Quit(); add a ...
10 years, 4 months ago (2010-08-05 23:56:09 UTC) #3
Elliot Glaysher
http://codereview.chromium.org/3077022/diff/8001/9001 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/3077022/diff/8001/9001#newcode931 chrome/browser/browser_init.cc:931: // right thing to do? nit: Format is "TODO(ldap): ...
10 years, 4 months ago (2010-08-05 23:58:57 UTC) #4
Matt Perry
couple style issues I forgot http://codereview.chromium.org/3077022/diff/8001/9001 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/3077022/diff/8001/9001#newcode931 chrome/browser/browser_init.cc:931: // right thing to ...
10 years, 4 months ago (2010-08-06 00:03:54 UTC) #5
isherman
I think the patch should be functionally complete now. Mostly this revision just adds unit ...
10 years, 4 months ago (2010-08-07 03:24:39 UTC) #6
Paweł Hajdan Jr.
Drive-by with some test comments. http://codereview.chromium.org/3077022/diff/18001/19002 File chrome/browser/extensions/extensions_service_unittest.cc (right): http://codereview.chromium.org/3077022/diff/18001/19002#newcode639 chrome/browser/extensions/extensions_service_unittest.cc:639: ASSERT_TRUE(false); The right way ...
10 years, 4 months ago (2010-08-09 16:54:15 UTC) #7
Matt Perry
LGTM, a few small things http://codereview.chromium.org/3077022/diff/24001/25001 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/3077022/diff/24001/25001#newcode913 chrome/browser/browser_init.cc:913: class PackExtensionLogger : public ...
10 years, 4 months ago (2010-08-09 21:08:29 UTC) #8
isherman
http://codereview.chromium.org/3077022/diff/24001/25002 File chrome/browser/extensions/extensions_service_unittest.cc (right): http://codereview.chromium.org/3077022/diff/24001/25002#newcode638 chrome/browser/extensions/extensions_service_unittest.cc:638: FAIL() << "Packing should not fail."; On 2010/08/09 21:08:29, ...
10 years, 4 months ago (2010-08-09 22:43:56 UTC) #9
Matt Perry
still lgtm http://codereview.chromium.org/3077022/diff/24001/25002 File chrome/browser/extensions/extensions_service_unittest.cc (right): http://codereview.chromium.org/3077022/diff/24001/25002#newcode638 chrome/browser/extensions/extensions_service_unittest.cc:638: FAIL() << "Packing should not fail."; On ...
10 years, 4 months ago (2010-08-09 22:47:07 UTC) #10
isherman
http://codereview.chromium.org/3077022/diff/24001/25002 File chrome/browser/extensions/extensions_service_unittest.cc (right): http://codereview.chromium.org/3077022/diff/24001/25002#newcode1047 chrome/browser/extensions/extensions_service_unittest.cc:1047: InstallExtension(expected_crx_path, true); On 2010/08/09 22:47:07, Matt Perry wrote: > ...
10 years, 4 months ago (2010-08-09 22:55:31 UTC) #11
Matt Perry
On Mon, Aug 9, 2010 at 3:55 PM, <isherman@google.com> wrote: > > http://codereview.chromium.org/3077022/diff/24001/25002 > File ...
10 years, 4 months ago (2010-08-09 23:00:53 UTC) #12
Paweł Hajdan Jr.
10 years, 4 months ago (2010-08-09 23:40:58 UTC) #13
Code I commented in the drive-by LGTM.

Powered by Google App Engine
This is Rietveld 408576698