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

Issue 256049: Generate IDs for --load-extension by hashing the path instead (Closed)

Created:
11 years, 2 months ago by Aaron Boodman
Modified:
9 years, 6 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Generate IDs for --load-extension by hashing the path instead of incrementing a static counter. BUG=21281 TEST=Load an unpacked extension from chrome://extensions/ that does not have an ID in its manifest. The resulting ID should be random-looking, not something like "aaaaaa". Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28095

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed support for default Extension constructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -79 lines) Patch
M chrome/browser/extensions/extension_browsertest.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertests_misc.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_updater_unittest.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 1 2 chunks +6 lines, -13 lines 0 comments Download
M chrome/browser/extensions/sandboxed_extension_unpacker.cc View 2 chunks +9 lines, -11 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 3 chunks +3 lines, -20 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 4 chunks +9 lines, -14 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 8 chunks +23 lines, -11 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Aaron Boodman
11 years, 2 months ago (2009-10-03 21:00:10 UTC) #1
Matt Perry
http://codereview.chromium.org/256049/diff/1/5 File chrome/browser/extensions/extensions_service_unittest.cc (right): http://codereview.chromium.org/256049/diff/1/5#newcode1216 Line 1216: // If we reload the same path, we ...
11 years, 2 months ago (2009-10-05 17:32:15 UTC) #2
Aaron Boodman
http://codereview.chromium.org/256049/diff/1/5 File chrome/browser/extensions/extensions_service_unittest.cc (right): http://codereview.chromium.org/256049/diff/1/5#newcode1216 Line 1216: // If we reload the same path, we ...
11 years, 2 months ago (2009-10-05 20:04:48 UTC) #3
Matt Perry
11 years, 2 months ago (2009-10-05 20:55:39 UTC) #4
Cool. lgtm

Powered by Google App Engine
This is Rietveld 408576698