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

Issue 337041: Fix bug where many extensions don't install due to sandbox. (Closed)

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

Description

Fix bug where many extensions don't install due to sandbox. FWIW, I tracked down why our tests didn't find this. We do have coverage for the code path that was getting executed, but the sandbox is disabled in our browser tests, so it did not expose this issue. BUG=25865 TEST=Install any extension that has a content script or icons (test/data/extensions/good.crx is one example). Go to chrome://extensions/. You should see the extension successfully installed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30282

Patch Set 1 #

Patch Set 2 : Attempt to fix a deps issue #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -18 lines) Patch
M chrome/browser/extensions/extension_file_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/utility_process_host.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 4 chunks +6 lines, -6 lines 1 comment Download
A + chrome/common/extensions/extension_l10n_util.h View 3 chunks +8 lines, -3 lines 0 comments Download
A + chrome/common/extensions/extension_l10n_util.cc View 3 chunks +15 lines, -4 lines 1 comment Download
A + chrome/common/extensions/extension_l10n_util_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/common/extensions/extension_resource.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_resource_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/utility_main.cc View 1 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Aaron Boodman
Cira, Sorry for grabbing this bug out from under you when you'd already started on ...
11 years, 1 month ago (2009-10-27 05:53:05 UTC) #1
Nebojša Ćirić
LGTM I wanted to do: string GetCurrentLocaleOrDefault(const string& default) { static string locale; if (!default.empty()) ...
11 years, 1 month ago (2009-10-27 17:13:01 UTC) #2
Matt Perry
lgtm
11 years, 1 month ago (2009-10-27 18:19:57 UTC) #3
Aaron Boodman
New snapshot. Moved extension_l10n_util from browser to common.
11 years, 1 month ago (2009-10-27 21:57:19 UTC) #4
Matt Perry
OK
11 years, 1 month ago (2009-10-27 21:58:29 UTC) #5
Nebojša Ćirić
11 years, 1 month ago (2009-10-27 22:04:35 UTC) #6
LGTM

http://codereview.chromium.org/337041/diff/4001/5003
File chrome/chrome.gyp (right):

http://codereview.chromium.org/337041/diff/4001/5003#newcode542
Line 542: 'common/extensions/extension_action.h',
action2->action changes are result of a merge?

http://codereview.chromium.org/337041/diff/4001/5004
File chrome/common/extensions/extension_l10n_util.cc (right):

http://codereview.chromium.org/337041/diff/4001/5004#newcode201
Line 201: *current_locale = l10n_util::GetApplicationLocale(L"");
No big deal, but you could use

SetProcessLocale(l10n_util::GetApplicationLocale(L""));

instead.

Powered by Google App Engine
This is Rietveld 408576698