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

Issue 150663013: Integrate ErrorConsole with Apps Dev Tool (Closed)

Created:
6 years, 10 months ago by Devlin
Modified:
6 years, 10 months ago
Reviewers:
Finnur, dvh, Mark P, Dan Beam
CC:
chromium-reviews, extensions-reviews_chromium.org, jar (doing other things), arv+watch_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, Ilya Sherman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Integrate ErrorConsole with Apps Dev Tool This is in preparation for integrating the error console work with the Apps Developer Tool. On the chrome side, this means: - Adding new DeveloperPrivateAPI functions to open developer tools and read file source. - Making DeveloperPrivateAPI listen for extension errors. - Refactor ExtensionErrorHandler WebUI to allow for shared code with DeveloperPrivateAPI (error_handler_ui_util). - Refactor extension_error[_overlay].js to use either chrome.send or chrome.developerPrivate functions. - Refactor so that all knowledge of whether the overlay can be displayed is in extension_error_overlay.js Images: http://imgur.com/a/IAGMU#0 BUG=335313 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250943

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Remove DeveloperPrivate.getStrings() #

Total comments: 51

Patch Set 3 : Dan's and Finnur's #

Total comments: 6

Patch Set 4 : Dan's II #

Total comments: 2

Patch Set 5 : WeakPtrFactory #

Patch Set 6 : Latest master #

Patch Set 7 : Updated histograms.xml #

Unified diffs Side-by-side diffs Delta from patch set Stats (+736 lines, -501 lines) Patch
M chrome/browser/extensions/api/developer_private/developer_private_api.h View 1 2 3 9 chunks +113 lines, -83 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 11 chunks +136 lines, -127 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/extensions/extension_error.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/extensions/extension_error.js View 2 chunks +10 lines, -80 lines 0 comments Download
M chrome/browser/resources/extensions/extension_error_overlay.js View 1 2 3 14 chunks +157 lines, -46 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.js View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_error_handler.h View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_error_handler.cc View 1 2 3 4 3 chunks +18 lines, -156 lines 0 comments Download
A chrome/browser/ui/webui/extensions/extension_error_ui_util.h View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/extensions/extension_error_ui_util.cc View 1 2 3 1 chunk +196 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/developer_private.idl View 1 2 4 chunks +39 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
Devlin
Please take a look when you can: - dvh: c/b/e/api/developer_private (I know you're not OWNER, ...
6 years, 10 months ago (2014-02-10 17:49:35 UTC) #1
dvh
lgtm. Try to clean the GetStrings in developer private. https://codereview.chromium.org/150663013/diff/60001/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/150663013/diff/60001/chrome/browser/extensions/api/developer_private/developer_private_api.cc#newcode1389 chrome/browser/extensions/api/developer_private/developer_private_api.cc:1389: ...
6 years, 10 months ago (2014-02-10 20:04:03 UTC) #2
Devlin
https://codereview.chromium.org/150663013/diff/60001/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/150663013/diff/60001/chrome/browser/extensions/api/developer_private/developer_private_api.cc#newcode1389 chrome/browser/extensions/api/developer_private/developer_private_api.cc:1389: IDS_APPS_DEVTOOL_MANAGED_PROFILE_DIALOG_DESCRIPTION); On 2014/02/10 20:04:04, dvh wrote: > I think ...
6 years, 10 months ago (2014-02-10 22:59:41 UTC) #3
Dan Beam
https://chromiumcodereview.appspot.com/150663013/diff/60001/chrome/browser/extensions/api/developer_private/developer_private_api.cc File chrome/browser/extensions/api/developer_private/developer_private_api.cc (right): https://chromiumcodereview.appspot.com/150663013/diff/60001/chrome/browser/extensions/api/developer_private/developer_private_api.cc#newcode386 chrome/browser/extensions/api/developer_private/developer_private_api.cc:386: developer::InstallWarning* warning = new developer::InstallWarning(); nit: arguably make this ...
6 years, 10 months ago (2014-02-11 02:43:48 UTC) #4
Finnur
General comment: You'll need one of: asvitkine, isherman, jar, mpearson to give OWNERS approval for ...
6 years, 10 months ago (2014-02-11 13:11:28 UTC) #5
Devlin
Finnur's and Dan's comments addressed. https://codereview.chromium.org/150663013/diff/60001/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/150663013/diff/60001/chrome/browser/extensions/api/developer_private/developer_private_api.cc#newcode386 chrome/browser/extensions/api/developer_private/developer_private_api.cc:386: developer::InstallWarning* warning = new ...
6 years, 10 months ago (2014-02-11 18:41:16 UTC) #6
Dan Beam
still a few more things to reconcile https://codereview.chromium.org/150663013/diff/160001/chrome/browser/ui/webui/extensions/extension_error_handler.cc File chrome/browser/ui/webui/extensions/extension_error_handler.cc (right): https://codereview.chromium.org/150663013/diff/160001/chrome/browser/ui/webui/extensions/extension_error_handler.cc#newcode107 chrome/browser/ui/webui/extensions/extension_error_handler.cc:107: "extensions.ExtensionErrorOverlay.requestFileSourceResponse")); On ...
6 years, 10 months ago (2014-02-11 18:54:43 UTC) #7
Devlin
Dang, don't know how I didn't see those comments. :/ Sorry... https://codereview.chromium.org/150663013/diff/160001/chrome/browser/ui/webui/extensions/extension_error_handler.cc File chrome/browser/ui/webui/extensions/extension_error_handler.cc (right): ...
6 years, 10 months ago (2014-02-11 19:26:44 UTC) #8
Dan Beam
https://codereview.chromium.org/150663013/diff/590001/chrome/browser/ui/webui/extensions/extension_error_handler.cc File chrome/browser/ui/webui/extensions/extension_error_handler.cc (right): https://codereview.chromium.org/150663013/diff/590001/chrome/browser/ui/webui/extensions/extension_error_handler.cc#newcode96 chrome/browser/ui/webui/extensions/extension_error_handler.cc:96: base::Unretained(this))); ^ can this handler go away while request ...
6 years, 10 months ago (2014-02-11 19:54:20 UTC) #9
Devlin
https://codereview.chromium.org/150663013/diff/590001/chrome/browser/ui/webui/extensions/extension_error_handler.cc File chrome/browser/ui/webui/extensions/extension_error_handler.cc (right): https://codereview.chromium.org/150663013/diff/590001/chrome/browser/ui/webui/extensions/extension_error_handler.cc#newcode96 chrome/browser/ui/webui/extensions/extension_error_handler.cc:96: base::Unretained(this))); On 2014/02/11 19:54:21, Dan Beam wrote: > ^ ...
6 years, 10 months ago (2014-02-11 20:15:01 UTC) #10
Dan Beam
lgtm thanks!
6 years, 10 months ago (2014-02-11 20:25:30 UTC) #11
Devlin
+mpearson for histograms
6 years, 10 months ago (2014-02-11 21:08:13 UTC) #12
Mark P
histograms.xml lgtm
6 years, 10 months ago (2014-02-11 22:08:36 UTC) #13
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 10 months ago (2014-02-12 00:23:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/150663013/660001
6 years, 10 months ago (2014-02-12 00:26:15 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-12 06:01:50 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=262305
6 years, 10 months ago (2014-02-12 06:01:50 UTC) #17
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 10 months ago (2014-02-12 16:59:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/150663013/660001
6 years, 10 months ago (2014-02-12 17:01:28 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-12 17:56:56 UTC) #20
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-12 17:56:59 UTC) #21
Mark P
When you resolve to fix this chunk mismatch, please remember to update histograms.xml appropriately too.
6 years, 10 months ago (2014-02-12 18:01:20 UTC) #22
Devlin
On 2014/02/12 18:01:20, Mark P wrote: > When you resolve to fix this chunk mismatch, ...
6 years, 10 months ago (2014-02-12 18:07:14 UTC) #23
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 10 months ago (2014-02-12 18:36:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/150663013/1290001
6 years, 10 months ago (2014-02-12 18:38:15 UTC) #25
Mark P
On 2014/02/12 18:07:14, D Cronin wrote: > On 2014/02/12 18:01:20, Mark P wrote: > > ...
6 years, 10 months ago (2014-02-12 18:38:35 UTC) #26
Devlin
The CQ bit was unchecked by rdevlin.cronin@chromium.org
6 years, 10 months ago (2014-02-12 18:55:51 UTC) #27
Devlin
On 2014/02/12 18:38:35, Mark P wrote: > On 2014/02/12 18:07:14, D Cronin wrote: > > ...
6 years, 10 months ago (2014-02-12 18:57:19 UTC) #28
Mark P
On Wed, Feb 12, 2014 at 10:57 AM, <rdevlin.cronin@chromium.org> wrote: > On 2014/02/12 18:38:35, Mark ...
6 years, 10 months ago (2014-02-12 19:03:22 UTC) #29
Devlin
On 2014/02/12 19:03:22, Mark P wrote: > On Wed, Feb 12, 2014 at 10:57 AM, ...
6 years, 10 months ago (2014-02-12 19:32:15 UTC) #30
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 10 months ago (2014-02-12 19:33:10 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/150663013/1590001
6 years, 10 months ago (2014-02-12 19:49:49 UTC) #32
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 04:23:27 UTC) #33
Message was sent while issue was closed.
Change committed as 250943

Powered by Google App Engine
This is Rietveld 408576698