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

Issue 6293006: Allow relative paths to external extension files for some providers, error out for others. (Closed)

Created:
9 years, 11 months ago by Sam Kerner (Chrome)
Modified:
9 years, 7 months ago
Reviewers:
gfeher
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Allow relative paths to external extension files for some providers, error out for others. This change will enable a fix for issue 57289, which requires a different base directory for extensions. BUG=70111 TEST=ExtensionServiceTest.ExternalPrefProvider

Patch Set 1 #

Patch Set 2 : Tested registry install on windows. #

Total comments: 2

Patch Set 3 : Address review comments. #

Patch Set 4 : Rebase for commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -27 lines) Patch
M chrome/browser/extensions/extension_service.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 6 chunks +52 lines, -7 lines 0 comments Download
M chrome/browser/extensions/external_extension_loader.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/external_extension_loader.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/external_extension_provider_impl.cc View 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/extensions/external_pref_extension_loader.h View 1 2 4 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/extensions/external_pref_extension_loader.cc View 1 2 3 4 chunks +25 lines, -5 lines 0 comments Download
M chrome/browser/extensions/external_registry_extension_loader_win.cc View 1 2 3 2 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Sam Kerner (Chrome)
9 years, 11 months ago (2011-01-14 19:27:09 UTC) #1
Sam Kerner (Chrome)
Gábor, In the past, external extensions from the windows registry had to have absolute paths. ...
9 years, 11 months ago (2011-01-14 19:44:21 UTC) #2
gfeher
Sam, Sorry for my mistake. This looks overall good. Please check my comment. The policy ...
9 years, 11 months ago (2011-01-14 21:23:17 UTC) #3
Sam Kerner (Chrome)
Ready for another look. Fixed a bug in the previous version: PathService::Get() should be called ...
9 years, 11 months ago (2011-01-17 20:15:51 UTC) #4
Sam Kerner (Chrome)
http://codereview.chromium.org/6293006/diff/2001/chrome/browser/extensions/external_extension_loader.cc File chrome/browser/extensions/external_extension_loader.cc (right): http://codereview.chromium.org/6293006/diff/2001/chrome/browser/extensions/external_extension_loader.cc#newcode19 chrome/browser/extensions/external_extension_loader.cc:19: CHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); On 2011/01/14 21:23:17, gfeher wrote: > My understanding ...
9 years, 11 months ago (2011-01-17 20:21:35 UTC) #5
gfeher
9 years, 11 months ago (2011-01-18 08:59:43 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698