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

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed)

Created:
7 years, 4 months ago by sergeygs
Modified:
7 years, 3 months ago
CC:
chromium-reviews, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, jam, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, sail+watch_chromium.org, chromium-apps-reviews_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org, darin (slow to review)
Visibility:
Public.

Description

Implementation of the "Redirect URLs to Packaged Apps" feature. Design doc: https://docs.google.com/a/google.com/document/d/1JDRqz7CkHbSKwEOKqera0H9gLrtWI0bQggvfTVG3YZw/edit?usp=sharing BUG=111422

Patch Set 1 #

Total comments: 16

Patch Set 2 : 1) Fixed broken redirection for in-page WebKit-initiated navigations. All redirections work now. 2)… #

Total comments: 57

Patch Set 3 : Code review comments #

Patch Set 4 : One small correction #

Patch Set 5 : #

Patch Set 6 : Fully reverted extension_service.cc to original form #

Total comments: 44

Patch Set 7 : Code review comments + lint errors #

Total comments: 25
Unified diffs Side-by-side diffs Delta from patch set Stats (+896 lines, -43 lines) Patch
M chrome/browser/extensions/api/app_runtime/app_runtime_api.h View 1 2 3 4 5 6 4 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/app_runtime/app_runtime_api.cc View 1 2 3 4 5 6 4 chunks +27 lines, -5 lines 2 comments Download
A + chrome/browser/extensions/api/url_handlers/url_handlers_api.h View 2 chunks +9 lines, -9 lines 2 comments Download
A chrome/browser/extensions/api/url_handlers/url_handlers_api.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_system.h View 1 2 3 4 5 6 5 chunks +7 lines, -0 lines 2 comments Download
M chrome/browser/extensions/extension_system.cc View 1 2 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/platform_app_launcher.h View 1 2 3 chunks +14 lines, -4 lines 2 comments Download
M chrome/browser/extensions/platform_app_launcher.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
A chrome/browser/extensions/platform_app_redirector.h View 1 2 3 4 5 6 1 chunk +63 lines, -0 lines 9 comments Download
A chrome/browser/extensions/platform_app_redirector.cc View 1 2 3 4 5 6 1 chunk +84 lines, -0 lines 4 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 2 3 4 5 6 2 chunks +21 lines, -3 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/app_runtime.idl View 1 2 3 4 5 6 1 chunk +13 lines, -1 line 2 comments Download
A chrome/common/extensions/api/url_handlers/url_handlers_parser.h View 1 2 1 chunk +71 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/url_handlers/url_handlers_parser.cc View 1 2 3 4 5 6 1 chunk +157 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/manifest.html View 1 2 3 4 5 6 4 chunks +43 lines, -3 lines 2 comments Download
M chrome/common/extensions/extension_manifest_constants.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_set.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_set.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 6 chunks +40 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/app_runtime_custom_bindings.js View 1 2 3 4 5 6 2 chunks +11 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 8 chunks +34 lines, -3 lines 0 comments Download
A content/browser/renderer_host/url_handling_message_filter.h View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A content/browser/renderer_host/url_handling_message_filter.cc View 1 2 3 4 5 6 1 chunk +65 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/notification_types.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A content/public/browser/url_handling_notifications.h View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download
A content/public/browser/url_handling_notifications.cc View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
A content/public/common/url_handling_messages.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A + content/public/common/url_handling_messages.cc View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
sergeygs
7 years, 4 months ago (2013-08-12 21:19:59 UTC) #1
asargent_no_longer_on_chrome
https://codereview.chromium.org/22944002/diff/1/chrome/browser/extensions/api/app_runtime/app_runtime_api.h File chrome/browser/extensions/api/app_runtime/app_runtime_api.h (right): https://codereview.chromium.org/22944002/diff/1/chrome/browser/extensions/api/app_runtime/app_runtime_api.h#newcode64 chrome/browser/extensions/api/app_runtime/app_runtime_api.h:64: // custom dispatch event in javascript. This comment seems ...
7 years, 4 months ago (2013-08-14 18:05:12 UTC) #2
sergeygs
I think I've got it right this time. All kinds of navigations work now (browser- ...
7 years, 4 months ago (2013-08-18 11:40:24 UTC) #3
not at google - send to devlin
Brief-ish look at everything under chrome/. Where is the part that restricts it to apps ...
7 years, 4 months ago (2013-08-19 23:32:24 UTC) #4
Charlie Reis
Sorry for the late reply. It might help to more specifically direct reviewers to which ...
7 years, 3 months ago (2013-08-26 22:17:51 UTC) #5
benwells
On 2013/08/26 22:17:51, creis wrote: > Sorry for the late reply. It might help to ...
7 years, 3 months ago (2013-08-27 01:17:13 UTC) #6
sergeygs
On 2013/08/27 01:17:13, benwells wrote: > On 2013/08/26 22:17:51, creis wrote: > > Sorry for ...
7 years, 3 months ago (2013-08-29 07:55:43 UTC) #7
sergeygs
I believe I've addressed all the concerns that were raised. I'm also planning to break ...
7 years, 3 months ago (2013-08-29 08:24:42 UTC) #8
sergeygs
On 2013/08/19 23:32:24, kalman wrote: > Brief-ish look at everything under chrome/. Where is the ...
7 years, 3 months ago (2013-08-29 08:34:08 UTC) #9
not at google - send to devlin
On 2013/08/29 08:34:08, sergeygs wrote: > On 2013/08/19 23:32:24, kalman wrote: > > Brief-ish look ...
7 years, 3 months ago (2013-08-29 16:55:43 UTC) #10
sergeygs1
Sounds good. By "restrict to apps downloaded from the webstore", do you mean "as opposed ...
7 years, 3 months ago (2013-08-29 17:15:29 UTC) #11
not at google - send to devlin
You need to add tests for all those classes you're adding. https://codereview.chromium.org/22944002/diff/12001/chrome/browser/extensions/api/url_handlers/url_handlers_api.cc File chrome/browser/extensions/api/url_handlers/url_handlers_api.cc (right): ...
7 years, 3 months ago (2013-08-29 17:35:56 UTC) #12
sergeygs
https://codereview.chromium.org/22944002/diff/12001/chrome/browser/extensions/api/url_handlers/url_handlers_api.cc File chrome/browser/extensions/api/url_handlers/url_handlers_api.cc (right): https://codereview.chromium.org/22944002/diff/12001/chrome/browser/extensions/api/url_handlers/url_handlers_api.cc#newcode4 chrome/browser/extensions/api/url_handlers/url_handlers_api.cc:4: On 2013/08/29 17:35:56, kalman wrote: > On 2013/08/29 08:24:42, ...
7 years, 3 months ago (2013-08-30 00:39:43 UTC) #13
Charlie Reis
Thanks for removing the extension concepts from content/. (It's still probably worth removing the references ...
7 years, 3 months ago (2013-08-30 01:31:40 UTC) #14
benwells
I haven't looked at others' comments, I hope we don't contradict each other. https://codereview.chromium.org/22944002/diff/85001/chrome/browser/extensions/api/app_runtime/app_runtime_api.cc File ...
7 years, 3 months ago (2013-08-30 05:41:38 UTC) #15
jam
https://codereview.chromium.org/22944002/diff/47001/chrome/renderer/chrome_content_renderer_client.h File chrome/renderer/chrome_content_renderer_client.h (right): https://codereview.chromium.org/22944002/diff/47001/chrome/renderer/chrome_content_renderer_client.h#newcode85 chrome/renderer/chrome_content_renderer_client.h:85: virtual bool HandleNavigation(WebKit::WebFrame* frame, this isn't a method in ...
7 years, 3 months ago (2013-08-30 16:16:38 UTC) #16
not at google - send to devlin
pretty much lg from my perspective but I need to have another look after you've ...
7 years, 3 months ago (2013-08-30 17:07:57 UTC) #17
sergeygs
I'm freezing this CL and opening a new one: https://codereview.chromium.org/23847004/. Much smaller and better. Let's ...
7 years, 3 months ago (2013-09-02 07:36:21 UTC) #18
darin (slow to review)
It would be nice to make the design doc world readable. Ideally, it would be ...
7 years, 3 months ago (2013-09-03 04:10:44 UTC) #19
darin (slow to review)
It would be nice to make the design doc world readable. Ideally, it would be ...
7 years, 3 months ago (2013-09-03 04:10:49 UTC) #20
sergeygs1
7 years, 3 months ago (2013-09-03 16:58:38 UTC) #21
Yes, the copy in my chromium.org drive:

https://docs.google.com/document/d/1r-RoOv2URfZBYrT_B6notQ6MeMqZRd1EP1AITuzJC...

is world readable. I've announced it on apps-dev@chromium.org, according to
the New API Proposals process (
http://www.chromium.org/developers/design-documents/extensions/proposed-chang...).
Also per the same process, I've added the design draft to the Chrome API
Tracking table here:

https://docs.google.com/a/google.com/spreadsheet/ccc?key=0AjdhTmpdv-vvdENKZUI...
.

which is also world readable.

On Mon, Sep 2, 2013 at 9:10 PM, <darin@chromium.org> wrote:

> It would be nice to make the design doc world readable. Ideally, it would
> be
> hosted on chromium.org in some fashion. Is there a section on chromium.orgfor
> Apps V2 design docs?
>
>
https://codereview.chromium.**org/22944002/<https://codereview.chromium.org/2...
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698