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

Issue 8659002: Adding the --load-component-extension flag. (Closed)

Created:
9 years ago by SeRya
Modified:
9 years ago
CC:
chromium-reviews, rginda+watch_chromium.org, Erik does not do reviews, achuith+watch_chromium.org, mihaip+watch_chromium.org
Visibility:
Public.

Description

Removed flag --expose-private-extension-api. Added --load-component-extension. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113578

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixing style #

Patch Set 3 : Loading a component extension from file system. #

Total comments: 2

Patch Set 4 : Multiptle values supported. #

Total comments: 16

Patch Set 5 : Code review fixes. #

Patch Set 6 : Fixed Windows build. #

Patch Set 7 : Added a unit test. #

Total comments: 28

Patch Set 8 : Code review fix. #

Patch Set 9 : Code review fix. #

Total comments: 17

Patch Set 10 : Code review fixes. #

Patch Set 11 : Loading manifests on the FILE thread when the profile is loaded asynchronously. #

Patch Set 12 : Presubmit check fix. #

Patch Set 13 : Reverted to #10 patchset. #

Patch Set 14 : Adding comment to ScopedAllowIO.wq #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -85 lines) Patch
M chrome/browser/extensions/component_loader.h View 1 2 3 4 5 6 7 8 9 11 12 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 3 4 5 6 7 11 12 6 chunks +60 lines, -26 lines 0 comments Download
M chrome/browser/extensions/component_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 11 chunks +53 lines, -12 lines 0 comments Download
M chrome/browser/extensions/extension_file_browser_private_api.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -18 lines 0 comments Download
M chrome/common/extensions/extension_file_util.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 2 2 chunks +25 lines, -17 lines 0 comments Download
A chrome/test/data/extensions/override_component_extension/manifest.json View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
SeRya
Hi Zel, ~half of year ago you added the --expose-private-extension-api flag but it only available ...
9 years ago (2011-11-28 18:19:46 UTC) #1
Aaron Boodman
It would be nice if instead of these various hacks, there was a way to ...
9 years ago (2011-11-28 18:29:59 UTC) #2
SeRya
Flag --expose-private-extension-api removed. Instead introduced --load-component-extension. http://codereview.chromium.org/8659002/diff/1/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/8659002/diff/1/chrome/common/extensions/extension.cc#newcode2919 chrome/common/extensions/extension.cc:2919: ) On 2011/11/28 ...
9 years ago (2011-11-28 23:49:53 UTC) #3
zel
http://codereview.chromium.org/8659002/diff/4002/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/8659002/diff/4002/chrome/browser/profiles/profile_impl.cc#newcode420 chrome/browser/profiles/profile_impl.cc:420: if (command_line->HasSwitch(switches::kLoadComponentExtension)) { Can we make this flag load ...
9 years ago (2011-11-29 00:19:56 UTC) #4
SeRya
http://codereview.chromium.org/8659002/diff/4002/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/8659002/diff/4002/chrome/browser/profiles/profile_impl.cc#newcode420 chrome/browser/profiles/profile_impl.cc:420: if (command_line->HasSwitch(switches::kLoadComponentExtension)) { On 2011/11/29 00:19:56, zel wrote: > ...
9 years ago (2011-11-29 01:35:25 UTC) #5
Aaron Boodman
The implementation is brittle because it relies on the new Add() method being called after ...
9 years ago (2011-11-29 05:32:25 UTC) #6
SeRya
What to support "override" semantic for? I would't like to manage memory in one another ...
9 years ago (2011-11-29 21:31:00 UTC) #7
SeRya
Added a unit test.
9 years ago (2011-12-05 19:02:12 UTC) #8
Aaron Boodman
http://codereview.chromium.org/8659002/diff/19001/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (left): http://codereview.chromium.org/8659002/diff/19001/chrome/browser/extensions/component_loader.cc#oldcode104 chrome/browser/extensions/component_loader.cc:104: if (!absolute_path.IsAbsolute()) { Did this need to move? http://codereview.chromium.org/8659002/diff/19001/chrome/browser/extensions/component_loader.cc ...
9 years ago (2011-12-05 22:11:25 UTC) #9
SeRya
http://codereview.chromium.org/8659002/diff/19001/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (left): http://codereview.chromium.org/8659002/diff/19001/chrome/browser/extensions/component_loader.cc#oldcode104 chrome/browser/extensions/component_loader.cc:104: if (!absolute_path.IsAbsolute()) { On 2011/12/05 22:11:26, Aaron Boodman wrote: ...
9 years ago (2011-12-06 08:19:26 UTC) #10
Aaron Boodman
On Tue, Dec 6, 2011 at 12:19 AM, <serya@chromium.org> wrote: > > http://codereview.chromium.org/8659002/diff/19001/chrome/browser/extensions/component_loader.cc > File ...
9 years ago (2011-12-06 09:52:47 UTC) #11
SeRya
On 2011/12/06 09:52:47, Aaron Boodman wrote: > On Tue, Dec 6, 2011 at 12:19 AM, ...
9 years ago (2011-12-06 14:16:28 UTC) #12
Aaron Boodman
http://codereview.chromium.org/8659002/diff/28017/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (right): http://codereview.chromium.org/8659002/diff/28017/chrome/browser/extensions/component_loader.cc#newcode173 chrome/browser/extensions/component_loader.cc:173: for (; it != component_extensions_.end(); ++it) { It seems ...
9 years ago (2011-12-06 19:43:35 UTC) #13
SeRya
On 2011/12/06 09:52:47, Aaron Boodman wrote: > Please put the ScopedAllowIO outside this method, wrapping ...
9 years ago (2011-12-06 21:00:15 UTC) #14
SeRya
http://codereview.chromium.org/8659002/diff/28017/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (right): http://codereview.chromium.org/8659002/diff/28017/chrome/browser/extensions/component_loader.cc#newcode173 chrome/browser/extensions/component_loader.cc:173: for (; it != component_extensions_.end(); ++it) { On 2011/12/06 ...
9 years ago (2011-12-06 22:19:37 UTC) #15
Aaron Boodman
lgtm http://codereview.chromium.org/8659002/diff/28017/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (right): http://codereview.chromium.org/8659002/diff/28017/chrome/browser/extensions/component_loader.cc#newcode173 chrome/browser/extensions/component_loader.cc:173: for (; it != component_extensions_.end(); ++it) { On ...
9 years ago (2011-12-07 00:09:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/8659002/38010
9 years ago (2011-12-07 10:42:03 UTC) #17
commit-bot: I haz the power
Presubmit check for 8659002-38010 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-07 10:42:10 UTC) #18
SeRya
Dave | Miranda, Could you review the change as an owner of chrome/browser/profiles/profile_impl.cc, please?
9 years ago (2011-12-07 10:50:42 UTC) #19
SeRya
> http://codereview.chromium.org/8659002/diff/28017/chrome/browser/profiles/profile_impl.cc#newcode405 > chrome/browser/profiles/profile_impl.cc:405: > base::ThreadRestrictions::ScopedAllowIO allow_io; > This is still making me nervous. Since ...
9 years ago (2011-12-07 12:40:18 UTC) #20
DaveMoore
I understand I'm coming to this late, but haven't you created some opportunity for the ...
9 years ago (2011-12-07 14:22:08 UTC) #21
Miranda Callahan
Yes, I'm a bit worried about the blocking, especially in a multi-profile environment, where extension ...
9 years ago (2011-12-07 15:35:21 UTC) #22
Aaron Boodman
On 2011/12/07 15:35:21, Miranda Callahan wrote: > Yes, I'm a bit worried about the blocking, ...
9 years ago (2011-12-07 22:21:15 UTC) #23
Aaron Boodman
BTW, the latest patchset has gotten substantially more complex in an attempt to go to ...
9 years ago (2011-12-07 22:22:49 UTC) #24
Miranda Callahan
On 2011/12/07 22:22:49, Aaron Boodman wrote: > BTW, the latest patchset has gotten substantially more ...
9 years ago (2011-12-07 22:50:10 UTC) #25
SeRya
Comment added.
9 years ago (2011-12-07 23:42:20 UTC) #26
Miranda Callahan
On 2011/12/07 23:42:20, SeRya wrote: > Comment added. LGTM, and thank you.
9 years ago (2011-12-08 02:16:21 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/8659002/58005
9 years ago (2011-12-08 07:21:44 UTC) #28
commit-bot: I haz the power
9 years ago (2011-12-08 08:52:13 UTC) #29
Change committed as 113578

Powered by Google App Engine
This is Rietveld 408576698