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

Issue 598303002: Chromecast: adds CastNetworkDelegate. (Closed)

Created:
6 years, 2 months ago by gunsch
Modified:
6 years, 2 months ago
Reviewers:
lcwu1, byungchul
CC:
chromium-reviews, lcwu+watch_chromium.org, maclellant1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Chromecast: adds CastNetworkDelegate. This provides an interface for special handling of "whitelisted" URLs in internal code. It also denies local file access for Chromecast, except on Android (with a flag). R=lcwu@chromium.org,byungchul@chromium.org BUG=336640 Committed: https://crrev.com/dacd4f6f6d3e81a2522a19f2dc0660b9ada62b31 Cr-Commit-Position: refs/heads/master@{#297079}

Patch Set 1 #

Patch Set 2 : android build fixes #

Total comments: 2

Patch Set 3 : uploads CastNetworkDelegate :) #

Total comments: 10

Patch Set 4 : address lcwu comments #

Patch Set 5 : moves back to chromecast/shell/browser #

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : added CastNetworkDelegate back to CastService::Create #

Total comments: 2

Patch Set 8 : removes gyp dep #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -7 lines) Patch
M chromecast/chromecast.gyp View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M chromecast/common/chromecast_switches.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chromecast/common/chromecast_switches.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chromecast/service/cast_service.h View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
M chromecast/service/cast_service_android.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chromecast/service/cast_service_simple.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chromecast/shell/browser/cast_browser_main_parts.cc View 1 2 3 4 5 6 1 chunk +7 lines, -3 lines 0 comments Download
A chromecast/shell/browser/cast_network_delegate.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A chromecast/shell/browser/cast_network_delegate.cc View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A chromecast/shell/browser/cast_network_delegate_simple.cc View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
M chromecast/shell/browser/url_request_context_factory.h View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
M chromecast/shell/browser/url_request_context_factory.cc View 1 2 3 4 4 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 18 (3 generated)
gunsch
6 years, 2 months ago (2014-09-25 00:56:53 UTC) #1
lcwu1
Did you forget to upload the source files for CastNetworkDelegate? https://codereview.chromium.org/598303002/diff/20001/chromecast/service/cast_service.h File chromecast/service/cast_service.h (right): https://codereview.chromium.org/598303002/diff/20001/chromecast/service/cast_service.h#newcode26 ...
6 years, 2 months ago (2014-09-25 01:19:24 UTC) #2
gunsch
It appears that way :) Uploaded now. https://codereview.chromium.org/598303002/diff/20001/chromecast/service/cast_service.h File chromecast/service/cast_service.h (right): https://codereview.chromium.org/598303002/diff/20001/chromecast/service/cast_service.h#newcode26 chromecast/service/cast_service.h:26: CastNetworkDelegate* network_delegate); ...
6 years, 2 months ago (2014-09-25 15:47:56 UTC) #3
lcwu1
https://codereview.chromium.org/598303002/diff/40001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/598303002/diff/40001/chromecast/chromecast.gyp#newcode110 chromecast/chromecast.gyp:110: 'service/cast_network_delegate.h', I think it makes more sense for the ...
6 years, 2 months ago (2014-09-25 18:53:18 UTC) #4
gunsch
https://codereview.chromium.org/598303002/diff/40001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/598303002/diff/40001/chromecast/chromecast.gyp#newcode110 chromecast/chromecast.gyp:110: 'service/cast_network_delegate.h', On 2014/09/25 18:53:18, lcwu1 wrote: > I think ...
6 years, 2 months ago (2014-09-25 19:24:59 UTC) #5
lcwu1
https://codereview.chromium.org/598303002/diff/40001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/598303002/diff/40001/chromecast/chromecast.gyp#newcode110 chromecast/chromecast.gyp:110: 'service/cast_network_delegate.h', On 2014/09/25 19:24:59, gunsch wrote: > On 2014/09/25 ...
6 years, 2 months ago (2014-09-25 20:07:04 UTC) #6
gunsch
https://codereview.chromium.org/598303002/diff/40001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/598303002/diff/40001/chromecast/chromecast.gyp#newcode110 chromecast/chromecast.gyp:110: 'service/cast_network_delegate.h', On 2014/09/25 20:07:04, lcwu1 wrote: > On 2014/09/25 ...
6 years, 2 months ago (2014-09-25 20:46:34 UTC) #7
lcwu1
https://codereview.chromium.org/598303002/diff/100001/chromecast/shell/browser/cast_browser_main_parts.cc File chromecast/shell/browser/cast_browser_main_parts.cc (right): https://codereview.chromium.org/598303002/diff/100001/chromecast/shell/browser/cast_browser_main_parts.cc#newcode106 chromecast/shell/browser/cast_browser_main_parts.cc:106: url_request_context_factory_->GetSystemGetter())); Now that I looked at the internal CLs, ...
6 years, 2 months ago (2014-09-26 22:38:59 UTC) #8
gunsch
https://codereview.chromium.org/598303002/diff/100001/chromecast/shell/browser/cast_browser_main_parts.cc File chromecast/shell/browser/cast_browser_main_parts.cc (right): https://codereview.chromium.org/598303002/diff/100001/chromecast/shell/browser/cast_browser_main_parts.cc#newcode106 chromecast/shell/browser/cast_browser_main_parts.cc:106: url_request_context_factory_->GetSystemGetter())); On 2014/09/26 22:38:59, lcwu1 wrote: > Now that ...
6 years, 2 months ago (2014-09-26 23:03:06 UTC) #9
lcwu1
LGTM % a gyp fix https://codereview.chromium.org/598303002/diff/120001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/598303002/diff/120001/chromecast/chromecast.gyp#newcode105 chromecast/chromecast.gyp:105: 'cast_common', Is this dependency ...
6 years, 2 months ago (2014-09-26 23:07:31 UTC) #10
gunsch
https://codereview.chromium.org/598303002/diff/120001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/598303002/diff/120001/chromecast/chromecast.gyp#newcode105 chromecast/chromecast.gyp:105: 'cast_common', On 2014/09/26 23:07:31, lcwu1 wrote: > Is this ...
6 years, 2 months ago (2014-09-26 23:10:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598303002/120001
6 years, 2 months ago (2014-09-26 23:11:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598303002/140001
6 years, 2 months ago (2014-09-26 23:28:54 UTC) #16
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 8ad29168721d6d3c91717ad6440eee297b2c5678
6 years, 2 months ago (2014-09-27 00:01:17 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-09-27 00:01:53 UTC) #18
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/dacd4f6f6d3e81a2522a19f2dc0660b9ada62b31
Cr-Commit-Position: refs/heads/master@{#297079}

Powered by Google App Engine
This is Rietveld 408576698