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

Issue 11624036: Move the parsing of homepage_url" and "devtools_page" out of Extension. (Closed)

Created:
8 years ago by Joe Thomas
Modified:
7 years, 11 months ago
CC:
chromium-reviews, vsevik, yurys, Aaron Boodman, pam+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, pfeldman, Matt Perry
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move the parsing of homepage_url" and "devtools_page" out of Extension. -Created a ManifestURLParser PKS to register the ManifestHandler for various URL related manifest keys. -Created a generic ManifestURL ManifestData for different URLs This CL takes care of only "homepage_url" and "devtools_page" keys. I will create a follow-up CL for update_url and options_url. Patch from Joe Thomas <mhx348@motorola.com>;. BUG=159265 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176316

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 28

Patch Set 3 : Review comments addressed #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : Review comments incorporated #

Total comments: 6

Patch Set 6 : #

Total comments: 1

Patch Set 7 : nit fixed #

Patch Set 8 : patch rebased #

Patch Set 9 : patch-rebased- 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -98 lines) Patch
M chrome/browser/devtools/devtools_window.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_context_menu_model.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
A + chrome/browser/extensions/manifest_url_parser.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -10 lines 0 comments Download
A chrome/browser/extensions/manifest_url_parser.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -15 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 8 9 chunks +4 lines, -45 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc View 1 2 3 4 5 1 chunk +14 lines, -6 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc View 1 2 3 4 5 2 chunks +19 lines, -9 lines 0 comments Download
A chrome/common/extensions/manifest_url_handler.h View 1 2 3 4 5 6 1 chunk +54 lines, -0 lines 0 comments Download
A chrome/common/extensions/manifest_url_handler.cc View 1 2 3 4 5 1 chunk +92 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/resource_request_policy.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 27 (0 generated)
Joe Thomas
8 years ago (2012-12-22 01:20:58 UTC) #1
pfeldman
Could you share the broader context of what is happening? It sounds like dependency injection, ...
8 years ago (2012-12-22 10:01:15 UTC) #2
Yoyo Zhou
pfeldman: the context is in the design doc in the bug, specifically this part: https://docs.google.com/a/chromium.org/document/d/1hSwqniJVtk3he1fTl_PW422_48F7ZRQUpXLDPqCmRgk/edit?pli=1#bookmark=id.7yabrn4buy5c ...
7 years, 12 months ago (2012-12-26 18:08:43 UTC) #3
Joe Thomas
@pfeldman: Thanks for the review. I will consider your review comments in the next iteration. ...
7 years, 12 months ago (2012-12-26 19:20:47 UTC) #4
Joe Thomas
> However, I think it's unwieldy to have a separate thing for each URL. The ...
7 years, 12 months ago (2012-12-27 01:46:26 UTC) #5
Yoyo Zhou
https://chromiumcodereview.appspot.com/11624036/diff/8001/chrome/browser/extensions/api/url_parser/url_parser_api.h File chrome/browser/extensions/api/url_parser/url_parser_api.h (right): https://chromiumcodereview.appspot.com/11624036/diff/8001/chrome/browser/extensions/api/url_parser/url_parser_api.h#newcode15 chrome/browser/extensions/api/url_parser/url_parser_api.h:15: class URLParserAPI : public ProfileKeyedService { Hmm, I'm not ...
7 years, 12 months ago (2012-12-27 17:16:17 UTC) #6
Joe Thomas
https://codereview.chromium.org/11624036/diff/8001/chrome/browser/extensions/api/url_parser/url_parser_api.h File chrome/browser/extensions/api/url_parser/url_parser_api.h (right): https://codereview.chromium.org/11624036/diff/8001/chrome/browser/extensions/api/url_parser/url_parser_api.h#newcode15 chrome/browser/extensions/api/url_parser/url_parser_api.h:15: class URLParserAPI : public ProfileKeyedService { On 2012/12/27 17:16:17, ...
7 years, 11 months ago (2012-12-30 04:26:00 UTC) #7
Yoyo Zhou
https://codereview.chromium.org/11624036/diff/8001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/11624036/diff/8001/chrome/chrome_tests_unit.gypi#newcode1448 chrome/chrome_tests_unit.gypi:1448: 'common/extensions/api/url_parser/devtools_page_manifests_unittest.cc', On 2012/12/30 04:26:00, Joe Thomas wrote: > On ...
7 years, 11 months ago (2013-01-03 01:45:54 UTC) #8
Joe Thomas
Please take a look at the latest patch. Thanks https://codereview.chromium.org/11624036/diff/8001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/11624036/diff/8001/chrome/chrome_tests_unit.gypi#newcode1448 chrome/chrome_tests_unit.gypi:1448: ...
7 years, 11 months ago (2013-01-03 19:56:31 UTC) #9
Yoyo Zhou
Just a few comments about comments. https://codereview.chromium.org/11624036/diff/8001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/11624036/diff/8001/chrome/chrome_tests_unit.gypi#newcode1448 chrome/chrome_tests_unit.gypi:1448: 'common/extensions/api/url_parser/devtools_page_manifests_unittest.cc', On 2013/01/03 ...
7 years, 11 months ago (2013-01-03 22:55:32 UTC) #10
Yoyo Zhou
https://codereview.chromium.org/11624036/diff/33001/chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc File chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc (right): https://codereview.chromium.org/11624036/diff/33001/chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc#newcode15 chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc:15: namespace { By the way, I didn't notice this ...
7 years, 11 months ago (2013-01-03 23:11:44 UTC) #11
Joe Thomas
https://codereview.chromium.org/11624036/diff/33001/chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc File chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc (right): https://codereview.chromium.org/11624036/diff/33001/chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc#newcode15 chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc:15: namespace { On 2013/01/03 23:11:44, Yoyo Zhou wrote: > ...
7 years, 11 months ago (2013-01-04 00:34:59 UTC) #12
Yoyo Zhou
LGTM https://codereview.chromium.org/11624036/diff/26008/chrome/common/extensions/manifest_url_handler.h File chrome/common/extensions/manifest_url_handler.h (right): https://codereview.chromium.org/11624036/diff/26008/chrome/common/extensions/manifest_url_handler.h#newcode15 chrome/common/extensions/manifest_url_handler.h:15: // A structure to hold various URLs(devtools_page, homepage_url, ...
7 years, 11 months ago (2013-01-04 00:39:04 UTC) #13
Joe Thomas
+ben for gyp & chrome/renderer/ +pfeldman for chrome/browser/devtools/ +arv for chrome/browser/ui/webui/ +mirandac for chrome/browser/profiles/ Please ...
7 years, 11 months ago (2013-01-04 00:55:30 UTC) #14
Joe Thomas
7 years, 11 months ago (2013-01-04 00:56:14 UTC) #15
Joe Thomas
@ben, pfeldman, arv & mirandac, Ping. Could you please review the changes in your components? ...
7 years, 11 months ago (2013-01-08 05:38:22 UTC) #16
Miranda Callahan
On 2013/01/08 05:38:22, Joe Thomas wrote: > @ben, pfeldman, arv & mirandac, > > Ping. ...
7 years, 11 months ago (2013-01-08 13:57:13 UTC) #17
pfeldman
devtools lgtm.
7 years, 11 months ago (2013-01-09 09:58:08 UTC) #18
Ben Goodger (Google)
lgtm
7 years, 11 months ago (2013-01-09 17:17:34 UTC) #19
Joe Thomas
@arv, estade, Looking for OWNERS approval in chrome/browser/ui/webui/. Thanks!
7 years, 11 months ago (2013-01-10 14:58:52 UTC) #20
Evan Stade
lgtm
7 years, 11 months ago (2013-01-10 20:22:37 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/11624036/43001
7 years, 11 months ago (2013-01-10 22:02:38 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/11624036/43001
7 years, 11 months ago (2013-01-11 05:07:25 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/11624036/43001
7 years, 11 months ago (2013-01-11 07:57:58 UTC) #24
commit-bot: I haz the power
Failed to apply patch for chrome/browser/profiles/profile_dependency_manager.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-11 07:58:03 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/11624036/58001
7 years, 11 months ago (2013-01-11 08:20:08 UTC) #26
commit-bot: I haz the power
7 years, 11 months ago (2013-01-11 11:50:15 UTC) #27
Message was sent while issue was closed.
Change committed as 176316

Powered by Google App Engine
This is Rietveld 408576698