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

Issue 1153173006: Chromecast: use CastContent{Browser,Renderer}Client as a base class. (Closed)

Created:
5 years, 6 months ago by gunsch
Modified:
5 years, 6 months ago
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, derekjchow1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Chromecast: use CastContent{Browser,Renderer}Client as a base class. This will allow consolidating many current "link-time" implementations into virtual methods in our ContentClient classes, which should both provide increased clarity and eliminate frequent internal build breaks due to lag between a new public feature and matching internal CLs. See discussion on https://codereview.chromium.org/1168643004/. R=halliwell@chromium.org,lcwu@chromium.org,byungchul@chromium.org BUG=None Committed: https://crrev.com/5e3e1a5ef2862ff4058931c46564a0da5c995770 Cr-Commit-Position: refs/heads/master@{#333151}

Patch Set 1 #

Patch Set 2 : actually include new file #

Total comments: 2

Patch Set 3 : use scoped_ptr, ::Create methods #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : rm excess methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -4 lines) Patch
M chromecast/app/cast_main_delegate.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.h View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M chromecast/browser/cast_content_browser_client_simple.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chromecast/renderer/cast_content_renderer_client.h View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M chromecast/renderer/cast_content_renderer_client_simple.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
gunsch
5 years, 6 months ago (2015-06-05 18:51:50 UTC) #1
halliwell
On 2015/06/05 18:51:50, gunsch wrote: lgtm % compile errors! :)
5 years, 6 months ago (2015-06-05 20:21:05 UTC) #2
byungchul
https://codereview.chromium.org/1153173006/diff/20001/chromecast/app/cast_main_delegate.h File chromecast/app/cast_main_delegate.h (right): https://codereview.chromium.org/1153173006/diff/20001/chromecast/app/cast_main_delegate.h#newcode47 chromecast/app/cast_main_delegate.h:47: CastContentRendererClient* PlatformCreateCastRendererClient(); What would be pros and cons among: ...
5 years, 6 months ago (2015-06-05 20:25:33 UTC) #3
byungchul
https://codereview.chromium.org/1153173006/diff/20001/chromecast/app/cast_main_delegate.h File chromecast/app/cast_main_delegate.h (right): https://codereview.chromium.org/1153173006/diff/20001/chromecast/app/cast_main_delegate.h#newcode47 chromecast/app/cast_main_delegate.h:47: CastContentRendererClient* PlatformCreateCastRendererClient(); On 2015/06/05 20:25:33, byungchul wrote: > What ...
5 years, 6 months ago (2015-06-05 20:28:21 UTC) #4
gunsch
On 2015/06/05 20:28:21, byungchul wrote: > https://codereview.chromium.org/1153173006/diff/20001/chromecast/app/cast_main_delegate.h > File chromecast/app/cast_main_delegate.h (right): > > https://codereview.chromium.org/1153173006/diff/20001/chromecast/app/cast_main_delegate.h#newcode47 > ...
5 years, 6 months ago (2015-06-05 20:43:53 UTC) #5
byungchul
lgtm A nit https://codereview.chromium.org/1153173006/diff/60001/chromecast/app/cast_main_delegate.h File chromecast/app/cast_main_delegate.h (right): https://codereview.chromium.org/1153173006/diff/60001/chromecast/app/cast_main_delegate.h#newcode47 chromecast/app/cast_main_delegate.h:47: CastContentRendererClient* PlatformCreateCastRendererClient(); Not necessary
5 years, 6 months ago (2015-06-05 20:46:29 UTC) #6
gunsch
https://codereview.chromium.org/1153173006/diff/60001/chromecast/app/cast_main_delegate.h File chromecast/app/cast_main_delegate.h (right): https://codereview.chromium.org/1153173006/diff/60001/chromecast/app/cast_main_delegate.h#newcode47 chromecast/app/cast_main_delegate.h:47: CastContentRendererClient* PlatformCreateCastRendererClient(); On 2015/06/05 20:46:29, byungchul wrote: > Not ...
5 years, 6 months ago (2015-06-05 21:01:40 UTC) #7
gunsch
(+alokp)
5 years, 6 months ago (2015-06-05 21:02:00 UTC) #9
alokp
lgtm
5 years, 6 months ago (2015-06-05 21:17:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153173006/80001
5 years, 6 months ago (2015-06-05 22:09:28 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 6 months ago (2015-06-05 22:15:42 UTC) #14
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 22:16:33 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5e3e1a5ef2862ff4058931c46564a0da5c995770
Cr-Commit-Position: refs/heads/master@{#333151}

Powered by Google App Engine
This is Rietveld 408576698