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

Issue 1092283003: [Chromecast] CastSysInfo implementation. (Closed)

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

Description

[Chromecast] CastSysInfo implementation. Adds CastSysInfo. This class is platform dependent and provides some basic information about the platform it is running on. R=gunsch@chromium.org,byungchul@chromium.org BUG= Committed: https://crrev.com/aee21a7b4f2dbbcee1fb2f2d812fc711df7f7fc1 Cr-Commit-Position: refs/heads/master@{#326424}

Patch Set 1 #

Total comments: 24

Patch Set 2 : Address some comments from patchset 1 #

Total comments: 6

Patch Set 3 : Updated comments. #

Total comments: 6

Patch Set 4 : Remove Init/Finalize #

Patch Set 5 : Fix CastSysInfoShlib comment. #

Patch Set 6 : Remove shlib #

Total comments: 4

Patch Set 7 : cast_sys_info_util.h #

Total comments: 4

Patch Set 8 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -5 lines) Patch
M chromecast/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
A chromecast/base/cast_sys_info_dummy.h View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A chromecast/base/cast_sys_info_dummy.cc View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
A chromecast/base/cast_sys_info_util.h View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
A + chromecast/base/cast_sys_info_util_simple.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -5 lines 0 comments Download
M chromecast/chromecast.gyp View 1 2 3 4 5 6 7 3 chunks +22 lines, -0 lines 0 comments Download
A chromecast/public/DEPS View 1 1 chunk +8 lines, -0 lines 0 comments Download
A chromecast/public/cast_sys_info.h View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (4 generated)
derekjchow1
PTAL. Note I've added a static CastSysInfo::Create function.
5 years, 8 months ago (2015-04-20 17:06:43 UTC) #1
byungchul
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode24 chromecast/public/cast_sys_info.h:24: static CastSysInfo* Create(); scoped_ptr<CastSysInfo> https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info_shlib.h File chromecast/public/cast_sys_info_shlib.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info_shlib.h#newcode21 ...
5 years, 8 months ago (2015-04-20 18:00:24 UTC) #2
gunsch
Thanks for adding this. https://codereview.chromium.org/1092283003/diff/1/chromecast/base/DEPS File chromecast/base/DEPS (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/base/DEPS#newcode4 chromecast/base/DEPS:4: "+chromecast/public", this can go in ...
5 years, 8 months ago (2015-04-20 18:02:31 UTC) #3
gunsch
+CC halliwell
5 years, 8 months ago (2015-04-20 18:02:48 UTC) #4
byungchul
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode24 chromecast/public/cast_sys_info.h:24: static CastSysInfo* Create(); On 2015/04/20 18:02:31, gunsch wrote: > ...
5 years, 8 months ago (2015-04-20 18:10:20 UTC) #5
gunsch
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode24 chromecast/public/cast_sys_info.h:24: static CastSysInfo* Create(); On 2015/04/20 18:10:19, byungchul wrote: > ...
5 years, 8 months ago (2015-04-20 18:11:49 UTC) #6
halliwell
https://codereview.chromium.org/1092283003/diff/1/chromecast/base/cast_sys_info_dummy.h File chromecast/base/cast_sys_info_dummy.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/base/cast_sys_info_dummy.h#newcode22 chromecast/base/cast_sys_info_dummy.h:22: const std::string GetSystemReleaseChannel() override; const is pointless on return ...
5 years, 8 months ago (2015-04-20 18:12:18 UTC) #8
gunsch
Commit comment: "dependant" --> "dependent"
5 years, 8 months ago (2015-04-20 18:13:29 UTC) #9
derekjchow1
https://codereview.chromium.org/1092283003/diff/1/chromecast/base/DEPS File chromecast/base/DEPS (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/base/DEPS#newcode4 chromecast/base/DEPS:4: "+chromecast/public", On 2015/04/20 18:02:31, gunsch wrote: > this can ...
5 years, 8 months ago (2015-04-20 21:15:32 UTC) #10
halliwell
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode29 chromecast/public/cast_sys_info.h:29: virtual void Finalize() = 0; On 2015/04/20 21:15:32, derekjchow1 ...
5 years, 8 months ago (2015-04-20 21:19:43 UTC) #11
gunsch
Public API comments could use some work. We should try to hold those to a ...
5 years, 8 months ago (2015-04-20 21:32:25 UTC) #12
derekjchow1
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode29 chromecast/public/cast_sys_info.h:29: virtual void Finalize() = 0; On 2015/04/20 21:19:43, halliwell ...
5 years, 8 months ago (2015-04-20 22:10:52 UTC) #13
halliwell
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode29 chromecast/public/cast_sys_info.h:29: virtual void Finalize() = 0; On 2015/04/20 22:10:52, derekjchow1 ...
5 years, 8 months ago (2015-04-20 22:22:11 UTC) #14
gunsch
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode29 chromecast/public/cast_sys_info.h:29: virtual void Finalize() = 0; I believe there may ...
5 years, 8 months ago (2015-04-20 22:34:49 UTC) #15
byungchul
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode29 chromecast/public/cast_sys_info.h:29: virtual void Finalize() = 0; On 2015/04/20 22:34:49, gunsch ...
5 years, 8 months ago (2015-04-20 23:51:14 UTC) #16
derekjchow1
https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/1/chromecast/public/cast_sys_info.h#newcode29 chromecast/public/cast_sys_info.h:29: virtual void Finalize() = 0; On 2015/04/20 23:51:14, byungchul ...
5 years, 8 months ago (2015-04-21 21:48:34 UTC) #17
lcwu1
https://codereview.chromium.org/1092283003/diff/70010/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/70010/chromecast/public/cast_sys_info.h#newcode35 chromecast/public/cast_sys_info.h:35: // Returns product code name of the device (eg: ...
5 years, 8 months ago (2015-04-22 20:51:41 UTC) #19
lcwu1
https://codereview.chromium.org/1092283003/diff/70010/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/1092283003/diff/70010/chromecast/chromecast.gyp#newcode323 chromecast/chromecast.gyp:323: 'base/cast_sys_info.h', I think having the same name here (as ...
5 years, 8 months ago (2015-04-22 21:57:54 UTC) #20
derekjchow1
https://codereview.chromium.org/1092283003/diff/70010/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/1092283003/diff/70010/chromecast/chromecast.gyp#newcode323 chromecast/chromecast.gyp:323: 'base/cast_sys_info.h', On 2015/04/22 21:57:54, lcwu1 wrote: > I think ...
5 years, 8 months ago (2015-04-22 22:22:04 UTC) #21
gunsch
lgtm % nit https://codereview.chromium.org/1092283003/diff/110001/chromecast/public/cast_sys_info.h File chromecast/public/cast_sys_info.h (right): https://codereview.chromium.org/1092283003/diff/110001/chromecast/public/cast_sys_info.h#newcode43 chromecast/public/cast_sys_info.h:43: // Returns device manufacturer (eg: Google, ...
5 years, 8 months ago (2015-04-22 22:25:26 UTC) #22
lcwu1
lgtm https://codereview.chromium.org/1092283003/diff/110001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/1092283003/diff/110001/chromecast/chromecast.gyp#newcode330 chromecast/chromecast.gyp:330: 'base/cast_sys_info_simple.cc', nit: I would change the file name ...
5 years, 8 months ago (2015-04-22 22:32:18 UTC) #23
derekjchow1
https://codereview.chromium.org/1092283003/diff/110001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/1092283003/diff/110001/chromecast/chromecast.gyp#newcode330 chromecast/chromecast.gyp:330: 'base/cast_sys_info_simple.cc', On 2015/04/22 22:32:17, lcwu1 wrote: > nit: I ...
5 years, 8 months ago (2015-04-22 23:55:39 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1092283003/130001
5 years, 8 months ago (2015-04-22 23:56:39 UTC) #27
commit-bot: I haz the power
Committed patchset #8 (id:130001)
5 years, 8 months ago (2015-04-23 02:08:06 UTC) #28
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 02:10:01 UTC) #29
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/aee21a7b4f2dbbcee1fb2f2d812fc711df7f7fc1
Cr-Commit-Position: refs/heads/master@{#326424}

Powered by Google App Engine
This is Rietveld 408576698