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

Issue 973303002: [Extensions] Make chrome://extensions use developerPrivate for error calls (Closed)

Created:
5 years, 9 months ago by Devlin
Modified:
5 years, 9 months ago
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@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Make chrome://extensions use developerPrivate for error calls Make the chrome://extensions page use chrome.developerPrivate API for extension error-related functionality. Also add tests for the api function, and convert it to a UIThreadExtensionFunction. Additionally, fix a bug in extensions.js where calling "showOverlay" on an already-visible hid the overlay (temporarily). BUG=461039 Committed: https://crrev.com/01332dbdf70785e2dd112cc109b2c7c1205402d7 Cr-Commit-Position: refs/heads/master@{#319661}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Kalman's #

Total comments: 4

Patch Set 3 : Fix null ptr exception #

Patch Set 4 : Win fix #

Patch Set 5 : Latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -554 lines) Patch
M chrome/browser/extensions/api/developer_private/developer_private_api.h View 1 2 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 3 6 chunks +118 lines, -26 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc View 1 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/resources/extensions/extension_error_overlay.js View 1 2 5 chunks +25 lines, -69 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.js View 1 2 chunks +4 lines, -2 lines 0 comments Download
D chrome/browser/ui/webui/extensions/extension_error_handler.h View 1 chunk +0 lines, -81 lines 0 comments Download
D chrome/browser/ui/webui/extensions/extension_error_handler.cc View 1 chunk +0 lines, -120 lines 0 comments Download
D chrome/browser/ui/webui/extensions/extension_error_ui_util.h View 1 chunk +0 lines, -36 lines 0 comments Download
D chrome/browser/ui/webui/extensions/extension_error_ui_util.cc View 1 chunk +0 lines, -199 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extensions_ui.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Devlin
5 years, 9 months ago (2015-03-03 23:11:01 UTC) #2
not at google - send to devlin
sweet, lgtm. https://codereview.chromium.org/973303002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.cc File chrome/browser/extensions/api/developer_private/developer_private_api.cc (right): https://codereview.chromium.org/973303002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.cc#newcode182 chrome/browser/extensions/api/developer_private/developer_private_api.cc:182: base::ReadFileToString(path, &data); Wrap this in ignore_result(). https://codereview.chromium.org/973303002/diff/1/chrome/browser/resources/extensions/extensions.js ...
5 years, 9 months ago (2015-03-04 00:11:27 UTC) #3
Devlin
Dan, wanna take a quick look at the JS? https://codereview.chromium.org/973303002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.cc File chrome/browser/extensions/api/developer_private/developer_private_api.cc (right): https://codereview.chromium.org/973303002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.cc#newcode182 chrome/browser/extensions/api/developer_private/developer_private_api.cc:182: ...
5 years, 9 months ago (2015-03-04 18:05:26 UTC) #5
Dan Beam
https://codereview.chromium.org/973303002/diff/20001/chrome/browser/resources/extensions/extension_error_overlay.js File chrome/browser/resources/extensions/extension_error_overlay.js (right): https://codereview.chromium.org/973303002/diff/20001/chrome/browser/resources/extensions/extension_error_overlay.js#newcode488 chrome/browser/resources/extensions/extension_error_overlay.js:488: textContent = response.title; if response can be null, shouldn't ...
5 years, 9 months ago (2015-03-05 02:05:12 UTC) #6
Dan Beam
https://codereview.chromium.org/973303002/diff/20001/chrome/browser/resources/extensions/extension_error_overlay.js File chrome/browser/resources/extensions/extension_error_overlay.js (right): https://codereview.chromium.org/973303002/diff/20001/chrome/browser/resources/extensions/extension_error_overlay.js#newcode464 chrome/browser/resources/extensions/extension_error_overlay.js:464: this.onFileSourceResponse_(null); doesn't this throw a null pointer exception, basically?
5 years, 9 months ago (2015-03-05 02:05:46 UTC) #7
Devlin
https://codereview.chromium.org/973303002/diff/20001/chrome/browser/resources/extensions/extension_error_overlay.js File chrome/browser/resources/extensions/extension_error_overlay.js (right): https://codereview.chromium.org/973303002/diff/20001/chrome/browser/resources/extensions/extension_error_overlay.js#newcode464 chrome/browser/resources/extensions/extension_error_overlay.js:464: this.onFileSourceResponse_(null); On 2015/03/05 02:05:46, Dan Beam wrote: > doesn't ...
5 years, 9 months ago (2015-03-05 16:56:17 UTC) #8
Dan Beam
lgtm
5 years, 9 months ago (2015-03-06 21:47:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/973303002/80001
5 years, 9 months ago (2015-03-09 16:06:17 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-09 17:16:39 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 17:17:30 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/01332dbdf70785e2dd112cc109b2c7c1205402d7
Cr-Commit-Position: refs/heads/master@{#319661}

Powered by Google App Engine
This is Rietveld 408576698