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

Issue 1154223003: NOT FOR COMMIT: POC of using AuthenticatingURLLoader in Sky (Closed)

Created:
5 years, 7 months ago by blundell
Modified:
5 years, 6 months ago
Reviewers:
abarth-chromium
CC:
gregsimon, mojo-reviews_chromium.org, ojan, qsr+mojo_chromium.org, yzshen+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

NOT FOR COMMIT: POC of using AuthenticatingURLLoader in Sky This CL changes Sky to use AuthenticatingURLLoaders so that sky_viewer.mojo can access Sky apps (and their resources) that require authentication.

Patch Set 1 #

Patch Set 2 : Android build fix #

Patch Set 3 : Use authentication in all the loaders #

Patch Set 4 : Handle redirects #

Patch Set 5 : updated comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -26 lines) Patch
M sky/engine/platform/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M sky/engine/platform/fetcher/MojoFetcher.h View 2 chunks +2 lines, -2 lines 0 comments Download
M sky/engine/platform/fetcher/MojoFetcher.cpp View 2 chunks +4 lines, -3 lines 0 comments Download
M sky/engine/public/platform/Platform.h View 2 chunks +6 lines, -0 lines 0 comments Download
M sky/services/platform/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M sky/services/platform/platform_impl.h View 2 chunks +7 lines, -1 line 0 comments Download
M sky/services/platform/platform_impl.cc View 1 2 2 chunks +11 lines, -2 lines 0 comments Download
M sky/services/platform/weburlloader_impl.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M sky/services/platform/weburlloader_impl.cc View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M sky/shell/ui/engine.cc View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M sky/viewer/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M sky/viewer/content_handler_impl.cc View 1 2 6 chunks +18 lines, -9 lines 0 comments Download
M sky/viewer/viewer.cc View 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 12 (1 generated)
blundell
Hi Adam, I'd like to get early feedback on this POC CL: - Overall direction ...
5 years, 7 months ago (2015-05-27 16:52:03 UTC) #2
abarth-chromium
Why are any changes to Sky required? Can't we just transparently replace the URLLoader?
5 years, 7 months ago (2015-05-27 16:55:28 UTC) #3
blundell
On 2015/05/27 16:55:28, abarth wrote: > Why are any changes to Sky required? Can't we ...
5 years, 7 months ago (2015-05-27 16:57:20 UTC) #4
abarth-chromium
Can we just change mojo:network_service to mojo:authenticated_network_service ?
5 years, 7 months ago (2015-05-27 18:08:43 UTC) #5
blundell
On 2015/05/27 18:08:43, abarth wrote: > Can we just change mojo:network_service to mojo:authenticated_network_service ? This ...
5 years, 6 months ago (2015-05-28 15:23:01 UTC) #6
abarth-chromium
On 2015/05/28 at 15:23:01, blundell wrote: > On 2015/05/27 18:08:43, abarth wrote: > > Can ...
5 years, 6 months ago (2015-05-28 15:47:10 UTC) #7
qsr
On 2015/05/28 15:47:10, abarth wrote: > On 2015/05/28 at 15:23:01, blundell wrote: > > On ...
5 years, 6 months ago (2015-05-28 16:06:11 UTC) #8
abarth-chromium
On 2015/05/28 at 16:06:11, qsr wrote: > On 2015/05/28 15:47:10, abarth wrote: > > Where ...
5 years, 6 months ago (2015-05-28 16:37:21 UTC) #9
qsr
On 2015/05/28 16:37:21, abarth wrote: > On 2015/05/28 at 16:06:11, qsr wrote: > > On ...
5 years, 6 months ago (2015-05-28 18:46:55 UTC) #10
abarth-chromium
It sounds like we disagree about what the requirements are and what costs we're willing ...
5 years, 6 months ago (2015-05-28 19:41:31 UTC) #11
qsr
5 years, 6 months ago (2015-05-28 19:44:07 UTC) #12
On 2015/05/28 19:41:31, abarth wrote:
> It sounds like we disagree about what the requirements are and what costs
we're
> willing to pay to satisfy those requirements.  IMHO, the security model you've
> invented here isn't going to work well because users don't have any context
for
> understanding URLs as security identifiers.  I don't think it's worth junking
up
> all this code to support this security model.  Instead, I think we should add
> authentication transparently as I described via email.

 Then we indeed disagree and I'm not ready to send oauth2 token anywhere without
asking the user first.

Powered by Google App Engine
This is Rietveld 408576698