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

Issue 671011: All platforms don't support same locales at the same time. Make locale check ... (Closed)

Created:
10 years, 9 months ago by Nebojša Ćirić
Modified:
9 years, 7 months ago
Reviewers:
rafaelw
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

All platforms don't support same locales at the same time. Make locale check for extensions less strict (we log a warning now, but let extension load). TEST=Create extension with _locales/xxx_yyy and see that it loads. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41046

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -65 lines) Patch
M chrome/common/extensions/extension_file_util.cc View 2 3 4 1 chunk +37 lines, -43 lines 0 comments Download
M chrome/common/extensions/extension_l10n_util.h View 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_l10n_util.cc View 1 2 3 5 chunks +26 lines, -8 lines 0 comments Download
M chrome/common/extensions/extension_l10n_util_unittest.cc View 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_unpacker.cc View 3 4 3 chunks +9 lines, -13 lines 0 comments Download
M chrome/common/extensions/extension_unpacker_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Nebojša Ćirić
10 years, 9 months ago (2010-03-08 22:45:41 UTC) #1
rafaelw
http://codereview.chromium.org/671011/diff/2001/3004 File chrome/common/extensions/extension_file_util.cc (right): http://codereview.chromium.org/671011/diff/2001/3004#newcode411 chrome/common/extensions/extension_file_util.cc:411: if (!default_locale.empty() || path_exists) { Can you change this ...
10 years, 9 months ago (2010-03-09 00:09:14 UTC) #2
Nebojša Ćirić
http://codereview.chromium.org/671011/diff/2001/3004 File chrome/common/extensions/extension_file_util.cc (right): http://codereview.chromium.org/671011/diff/2001/3004#newcode411 chrome/common/extensions/extension_file_util.cc:411: if (!default_locale.empty() || path_exists) { On 2010/03/09 00:09:14, rafaelw ...
10 years, 9 months ago (2010-03-09 00:44:53 UTC) #3
rafaelw
lgtm w/ nit. http://codereview.chromium.org/671011/diff/10001/11005 File chrome/common/extensions/extension_unpacker.cc (right): http://codereview.chromium.org/671011/diff/10001/11005#newcode128 chrome/common/extensions/extension_unpacker.cc:128: if (extension_l10n_util::ShouldSkipValidation( nit: looks like you ...
10 years, 9 months ago (2010-03-09 00:50:18 UTC) #4
Nebojša Ćirić
10 years, 9 months ago (2010-03-09 00:52:46 UTC) #5
Done.

On 2010/03/09 00:50:18, rafaelw wrote:
> lgtm w/ nit.
> 
> http://codereview.chromium.org/671011/diff/10001/11005
> File chrome/common/extensions/extension_unpacker.cc (right):
> 
> http://codereview.chromium.org/671011/diff/10001/11005#newcode128
> chrome/common/extensions/extension_unpacker.cc:128: if
> (extension_l10n_util::ShouldSkipValidation(
> nit: looks like you can still fit at least one of these args on the first
line.

Powered by Google App Engine
This is Rietveld 408576698