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

Issue 1286163003: Move SystemInfo to rtc_base_approved and delete unused code. (Closed)

Created:
5 years, 4 months ago by tommi
Modified:
5 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, Andrew MacDonald, mflodman, henrika_webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move SystemInfo to rtc_base_approved and delete unused code. This cl removes a lot of unused functionality in SystemInfo and reduces dependencies. There's duplicate functionality in this class and WebRTC's CpuInfo class, so I'm consolidating the two implementations. The CpuInfo interface will still exist since it's being used from Chrome to initialize the core count before the sandbox is engaged. With this change, the SystemInfo class will get the benefit too of this initialization. NOTRY=true (using no try due to a dead android try bot) Committed: https://crrev.com/efefda6062f8bf844cc7a01c80c26461c834c5e7 Cr-Commit-Position: refs/heads/master@{#9743}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -513 lines) Patch
M webrtc/base/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/base.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/systeminfo.h View 1 chunk +3 lines, -36 lines 0 comments Download
M webrtc/base/systeminfo.cc View 1 5 chunks +73 lines, -383 lines 0 comments Download
M webrtc/base/systeminfo_unittest.cc View 4 chunks +0 lines, -44 lines 0 comments Download
M webrtc/system_wrappers/interface/cpu_info.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/system_wrappers/source/cpu_info.cc View 1 chunk +2 lines, -45 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
tommi
5 years, 4 months ago (2015-08-19 09:09:36 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286163003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286163003/1
5 years, 4 months ago (2015-08-19 09:09:49 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/8912)
5 years, 4 months ago (2015-08-19 09:20:37 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286163003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286163003/1
5 years, 4 months ago (2015-08-19 20:29:57 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 4 months ago (2015-08-19 22:30:08 UTC) #10
magjed_webrtc
lgtm https://codereview.webrtc.org/1286163003/diff/1/webrtc/base/systeminfo.cc File webrtc/base/systeminfo.cc (right): https://codereview.webrtc.org/1286163003/diff/1/webrtc/base/systeminfo.cc#newcode99 webrtc/base/systeminfo.cc:99: if (!logical_cpus_) thread safe? https://codereview.webrtc.org/1286163003/diff/1/webrtc/base/systeminfo.cc#newcode110 webrtc/base/systeminfo.cc:110: DWORD_PTR process_mask ...
5 years, 4 months ago (2015-08-20 08:04:26 UTC) #11
tommi
Address comments
5 years, 4 months ago (2015-08-20 08:16:11 UTC) #12
tommi (sloooow) - chröme
https://codereview.webrtc.org/1286163003/diff/1/webrtc/base/systeminfo.cc File webrtc/base/systeminfo.cc (right): https://codereview.webrtc.org/1286163003/diff/1/webrtc/base/systeminfo.cc#newcode99 webrtc/base/systeminfo.cc:99: if (!logical_cpus_) On 2015/08/20 08:04:26, magjed_webrtc wrote: > thread ...
5 years, 4 months ago (2015-08-20 08:16:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286163003/2 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286163003/2
5 years, 4 months ago (2015-08-20 08:16:44 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 4 months ago (2015-08-20 10:17:00 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286163003/2 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286163003/2
5 years, 4 months ago (2015-08-20 12:03:16 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:2)
5 years, 4 months ago (2015-08-20 12:04:14 UTC) #22
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 12:04:27 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/efefda6062f8bf844cc7a01c80c26461c834c5e7
Cr-Commit-Position: refs/heads/master@{#9743}

Powered by Google App Engine
This is Rietveld 408576698