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

Issue 22470007: Add a "key" entry to InstallWarnings, remove InstallWarning::Format (Closed)

Created:
7 years, 4 months ago by Devlin
Modified:
7 years, 4 months ago
Reviewers:
Yoyo Zhou, Dan Beam
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@dc_ec_infrastructure
Visibility:
Public.

Description

Add a "key" entry to InstallWarnings, remove InstallWarning::Format Add a "key" entry to InstallWarnings to provide information about where in the manifest we found the warning (this will be used to highlight the line in question with the error console). Remove InstallWarning::Format, since there is never an instance of InstallWarning::HTML (so far as I can find). In preparation for https://codereview.chromium.org/22938005/ BUG=21734 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217847

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Reordered params #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -57 lines) Patch
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/apps_debugger/js/items_list.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/extensions/extension_list.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/api/developer_private.idl View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/api/extension_action/script_badge_handler.cc View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/common/extensions/api/extension_action/script_badge_manifest_unittest.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/common/extensions/extension_file_util.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/manifest.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/common/extensions/manifest_handlers/externally_connectable.cc View 1 2 3 chunks +12 lines, -7 lines 0 comments Download
M chrome/common/extensions/permissions/permissions_data.cc View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M extensions/common/install_warning.h View 1 2 1 chunk +24 lines, -14 lines 0 comments Download
M extensions/common/install_warning.cc View 1 1 chunk +18 lines, -10 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Devlin
7 years, 4 months ago (2013-08-14 22:32:21 UTC) #1
Yoyo Zhou
https://codereview.chromium.org/22470007/diff/18001/extensions/common/install_warning.h File extensions/common/install_warning.h (right): https://codereview.chromium.org/22470007/diff/18001/extensions/common/install_warning.h#newcode15 extensions/common/install_warning.h:15: InstallWarning(const std::string& key, This is slightly unintuitive. Usually when ...
7 years, 4 months ago (2013-08-14 22:40:36 UTC) #2
Devlin
https://codereview.chromium.org/22470007/diff/18001/extensions/common/install_warning.h File extensions/common/install_warning.h (right): https://codereview.chromium.org/22470007/diff/18001/extensions/common/install_warning.h#newcode15 extensions/common/install_warning.h:15: InstallWarning(const std::string& key, On 2013/08/14 22:40:36, Yoyo Zhou wrote: ...
7 years, 4 months ago (2013-08-15 00:20:25 UTC) #3
Yoyo Zhou
LGTM https://codereview.chromium.org/22470007/diff/31001/extensions/common/install_warning.h File extensions/common/install_warning.h (right): https://codereview.chromium.org/22470007/diff/31001/extensions/common/install_warning.h#newcode29 extensions/common/install_warning.h:29: // "foo", but these are reduntant with the ...
7 years, 4 months ago (2013-08-15 00:25:13 UTC) #4
Devlin
https://codereview.chromium.org/22470007/diff/31001/extensions/common/install_warning.h File extensions/common/install_warning.h (right): https://codereview.chromium.org/22470007/diff/31001/extensions/common/install_warning.h#newcode29 extensions/common/install_warning.h:29: // "foo", but these are reduntant with the message. ...
7 years, 4 months ago (2013-08-15 16:54:16 UTC) #5
Devlin
+dbeam for c/b/resources/ and c/b/ui/webui
7 years, 4 months ago (2013-08-15 16:55:08 UTC) #6
Dan Beam
lgtm
7 years, 4 months ago (2013-08-15 17:00:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/22470007/36001
7 years, 4 months ago (2013-08-15 17:05:19 UTC) #8
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=160333
7 years, 4 months ago (2013-08-15 18:08:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/22470007/36001
7 years, 4 months ago (2013-08-15 19:22:53 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-08-15 22:04:37 UTC) #11
Message was sent while issue was closed.
Change committed as 217847

Powered by Google App Engine
This is Rietveld 408576698