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

Issue 10536084: Add a warning when developing an extension that uses old manifest version. (Closed)

Created:
8 years, 6 months ago by Aaron Boodman
Modified:
8 years, 6 months ago
Reviewers:
Yoyo Zhou, Evan Stade
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

From the 'no free lunch' department: Add a warning when developing an extension that uses old manifest version. Screen shot: http://imgur.com/dAHVo BUG=131962 TBR=estade@chromium.org TEST=Load any extension that uses manifest_version < 2. Should see warning message in chrome://extensions/. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141803

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : grump #

Total comments: 4

Patch Set 4 : blargh #

Patch Set 5 : blonk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -47 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/extensions/extension_list.js View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/extensions/extensions.css View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 4 chunks +20 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension.cc View 5 chunks +23 lines, -9 lines 0 comments Download
M chrome/common/extensions/extension_file_util.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M chrome/common/extensions/extension_file_util_unittest.cc View 1 2 3 chunks +10 lines, -6 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_unpacker.cc View 7 chunks +8 lines, -6 lines 0 comments Download
M chrome/common/extensions/manifest.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/manifest.cc View 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifest_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
M chrome/common/extensions/manifest_unittest.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Aaron Boodman
yoz: extensiony stuff estade: webuiy stuff
8 years, 6 months ago (2012-06-12 05:24:57 UTC) #1
Evan Stade
http://codereview.chromium.org/10536084/diff/8002/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10536084/diff/8002/chrome/app/generated_resources.grd#newcode4505 chrome/app/generated_resources.grd:4505: + Manifest version 1 will be unsupported soon. You ...
8 years, 6 months ago (2012-06-12 19:13:56 UTC) #2
Yoyo Zhou
LGTM for extensions, but it would be nice if there was a test. http://codereview.chromium.org/10536084/diff/8002/chrome/app/generated_resources.grd File ...
8 years, 6 months ago (2012-06-12 19:19:52 UTC) #3
Aaron Boodman
Added test full of fancy gmock matcher goodness. http://codereview.chromium.org/10536084/diff/8002/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10536084/diff/8002/chrome/app/generated_resources.grd#newcode4505 chrome/app/generated_resources.grd:4505: + ...
8 years, 6 months ago (2012-06-13 00:19:49 UTC) #4
Evan Stade
8 years, 6 months ago (2012-06-13 02:14:24 UTC) #5
seems like "Please upgrade to manifest version 2. Learn More" would be enough.

the code lgtm, the string is up to you

Powered by Google App Engine
This is Rietveld 408576698