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

Issue 12876: Introduce ExtensionsService. Load extensions on startup from a directory in... (Closed)

Created:
12 years ago by Aaron Boodman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Introduce ExtensionsService. Load extensions on startup from a directory in the profile if a command-line flag is present. Please carefully scrutinize the threading/ref-counting schenanigans. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6403

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+434 lines, -31 lines) Patch
M chrome/browser/browser.scons View 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser.vcproj View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/browser_init.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension.h View 1 2 3 4 3 chunks +19 lines, -14 lines 0 comments Download
M chrome/browser/extensions/extension.cc View 1 2 3 4 1 chunk +22 lines, -17 lines 0 comments Download
A chrome/browser/extensions/extensions_service.h View 1 2 3 4 1 chunk +106 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extensions_service.cc View 1 2 3 4 1 chunk +130 lines, -0 lines 2 comments Download
A chrome/browser/extensions/extensions_service_unittest.cc View 1 2 3 4 1 chunk +98 lines, -0 lines 1 comment Download
M chrome/browser/profile.h View 1 2 3 4 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/profile.cc View 1 2 3 4 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/extension1/manifest View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/extension2/manifest View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/testing_profile.h View 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/unit/unit_tests.scons View 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/unit/unittests.vcproj View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Aaron Boodman
12 years ago (2008-12-02 21:04:06 UTC) #1
Erik does not do reviews
http://codereview.chromium.org/12876/diff/213/221 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/12876/diff/213/221#newcode489 Line 489: } remove extra {} http://codereview.chromium.org/12876/diff/213/219 File chrome/browser/extensions/extensions_service.cc (right): ...
12 years ago (2008-12-02 22:27:08 UTC) #2
brettw
Drive by style nits http://codereview.chromium.org/12876/diff/213/219 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/12876/diff/213/219#newcode1 Line 1: #include "chrome/browser/extensions/extensions_service.h" Copyright? http://codereview.chromium.org/12876/diff/213/219#newcode12 ...
12 years ago (2008-12-02 22:32:13 UTC) #3
Aaron Boodman
Thanks for the comments. New patch ready. http://codereview.chromium.org/12876/diff/213/221 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/12876/diff/213/221#newcode489 Line 489: } ...
12 years ago (2008-12-03 01:40:21 UTC) #4
Erik does not do reviews
Didn't you say that you needed to patch file_util* for this CL? otherwise, LGTM
12 years ago (2008-12-03 02:28:17 UTC) #5
Aaron Boodman
On 2008/12/03 02:28:17, Erik Kay wrote: > Didn't you say that you needed to patch ...
12 years ago (2008-12-04 21:37:07 UTC) #6
Erik does not do reviews
12 years ago (2008-12-04 22:03:05 UTC) #7
LGTM

http://codereview.chromium.org/12876/diff/279/285
File chrome/browser/extensions/extensions_service.cc (right):

http://codereview.chromium.org/12876/diff/279/285#newcode79
Line 79: FilePath manifest_path = FilePath::FromWStringHack(child_path).Append(
indent is off

http://codereview.chromium.org/12876/diff/279/285#newcode130
Line 130: }
is this file missing a trailing newline?

http://codereview.chromium.org/12876/diff/279/284
File chrome/browser/extensions/extensions_service_unittest.cc (right):

http://codereview.chromium.org/12876/diff/279/284#newcode98
Line 98: };
missing newline at end of file

Powered by Google App Engine
This is Rietveld 408576698