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

Issue 188443003: Parsing /proc/cpuinfo for model on Android and Aura (Closed)

Created:
6 years, 9 months ago by rptr
Modified:
6 years, 7 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Parsing /proc/cpuinfo for cpu branding information on Android and Aura. BUG=313454 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266575

Patch Set 1 #

Total comments: 6

Patch Set 2 : WIP - comments + nits #

Total comments: 13

Patch Set 3 : Fixing review comments. #

Total comments: 12

Patch Set 4 : review comments + nits. #

Patch Set 5 : Fixing review comments. #

Patch Set 6 : rebase.. #

Patch Set 7 : #

Total comments: 1

Patch Set 8 : rebase nit. #

Patch Set 9 : rebase. #

Patch Set 10 : android_webview+rebase. #

Total comments: 2

Patch Set 11 : nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -7 lines) Patch
M android_webview/lib/main/aw_main_delegate.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M base/cpu.cc View 1 2 3 4 5 6 7 8 9 3 chunks +50 lines, -7 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (0 generated)
rptr
Hello , This fix parses /proc/cpuinfo for cpu branding information on Android/Aura. As per discussion ...
6 years, 9 months ago (2014-03-06 06:34:48 UTC) #1
Mark Mentovai
The message you sent with your code review request says > This fix parses /proc/cpuinfo ...
6 years, 9 months ago (2014-03-06 14:41:55 UTC) #2
piman
+jln: is it expected that we can open and read /proc/cpuinfo from the sandbox?
6 years, 9 months ago (2014-03-06 20:58:17 UTC) #3
jln (very slow on Chromium)
On 2014/03/06 20:58:17, piman wrote: > +jln: is it expected that we can open and ...
6 years, 9 months ago (2014-03-06 23:08:05 UTC) #4
vivekg
https://codereview.chromium.org/188443003/diff/1/base/cpu.cc File base/cpu.cc (right): https://codereview.chromium.org/188443003/diff/1/base/cpu.cc#newcode173 base/cpu.cc:173: cpu_brand_.assign(line.substr(pos + 2)); You probably need to break here ...
6 years, 9 months ago (2014-03-07 11:59:52 UTC) #5
Mark Mentovai
Good catch. This too: https://codereview.chromium.org/188443003/diff/1/base/cpu.cc File base/cpu.cc (right): https://codereview.chromium.org/188443003/diff/1/base/cpu.cc#newcode172 base/cpu.cc:172: size_t pos = line.find(": "); ...
6 years, 9 months ago (2014-03-07 15:19:18 UTC) #6
rptr
On 2014/03/06 23:08:05, jln wrote: > On 2014/03/06 20:58:17, piman wrote: > > +jln: is ...
6 years, 9 months ago (2014-03-08 06:13:44 UTC) #7
rptr
As commented by jln, piman we can access /proc/cpuinfo from inside sandbox in Android but ...
6 years, 9 months ago (2014-03-08 06:26:59 UTC) #8
rptr
Please take a look at this patch. Fix takes care of review comments and caching ...
6 years, 9 months ago (2014-03-08 13:03:06 UTC) #9
Mark Mentovai
https://codereview.chromium.org/188443003/diff/20001/base/cpu.cc File base/cpu.cc (right): https://codereview.chromium.org/188443003/diff/20001/base/cpu.cc#newcode115 base/cpu.cc:115: template <typename T, T (*F)(void)> Why is this templated? ...
6 years, 9 months ago (2014-03-10 14:16:23 UTC) #10
rptr
Please take a look at this patch. https://codereview.chromium.org/188443003/diff/20001/base/cpu.cc File base/cpu.cc (right): https://codereview.chromium.org/188443003/diff/20001/base/cpu.cc#newcode115 base/cpu.cc:115: template <typename ...
6 years, 9 months ago (2014-03-11 15:47:13 UTC) #11
Mark Mentovai
https://codereview.chromium.org/188443003/diff/40001/base/cpu.cc File base/cpu.cc (right): https://codereview.chromium.org/188443003/diff/40001/base/cpu.cc#newcode92 base/cpu.cc:92: #if defined(OS_ANDROID) || defined(USE_AURA) This code is valid on ...
6 years, 9 months ago (2014-03-11 16:17:48 UTC) #12
rptr
PTAL. https://codereview.chromium.org/188443003/diff/40001/base/cpu.cc File base/cpu.cc (right): https://codereview.chromium.org/188443003/diff/40001/base/cpu.cc#newcode92 base/cpu.cc:92: #if defined(OS_ANDROID) || defined(USE_AURA) On 2014/03/11 16:17:48, Mark ...
6 years, 9 months ago (2014-03-12 15:26:24 UTC) #13
Mark Mentovai
Great, this looks good now. We’re still waiting on you being added to the list ...
6 years, 9 months ago (2014-03-12 15:31:44 UTC) #14
piman
Will this work in the GPU process? It doesn't use the zygote.
6 years, 9 months ago (2014-03-12 18:43:47 UTC) #15
rptr
On 2014/03/12 18:43:47, piman wrote: > Will this work in the GPU process? It doesn't ...
6 years, 9 months ago (2014-03-13 17:17:47 UTC) #16
Mark Mentovai
Also good. Please poke this again when the CLA stuff is done.
6 years, 9 months ago (2014-03-13 17:50:53 UTC) #17
piman
LGTM for my parts, maybe jln@ can vet that the PreSandboxStartup is the right place.
6 years, 9 months ago (2014-03-13 18:39:58 UTC) #18
jln (very slow on Chromium)
lgtm
6 years, 9 months ago (2014-03-20 02:36:26 UTC) #19
rptr
Hi Mark, Laszlo informed us that name is now updated in CLA list. Could you ...
6 years, 8 months ago (2014-04-08 11:41:42 UTC) #20
Mark Mentovai
I don’t see it in the list yet.
6 years, 8 months ago (2014-04-08 16:12:29 UTC) #21
Mark Mentovai
LGTM
6 years, 8 months ago (2014-04-15 13:42:10 UTC) #22
Mark Mentovai
The CQ bit was checked by mark@chromium.org
6 years, 8 months ago (2014-04-15 13:42:38 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/puttaraju.r@samsung.com/188443003/100001
6 years, 8 months ago (2014-04-15 13:43:28 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 14:34:40 UTC) #25
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=61532
6 years, 8 months ago (2014-04-15 14:34:40 UTC) #26
rptr
Adding cpu_@ for chrome_main_delegate.cc file
6 years, 8 months ago (2014-04-15 15:03:44 UTC) #27
rptr
Added pfeldman@ for content/shell/app/shell_main_delegate.cc
6 years, 8 months ago (2014-04-15 15:09:39 UTC) #28
pfeldman
shell rslgtm
6 years, 8 months ago (2014-04-16 05:46:31 UTC) #29
cpu_(ooo_6.6-7.5)
lgtm with nit. https://codereview.chromium.org/188443003/diff/120001/base/cpu.cc File base/cpu.cc (right): https://codereview.chromium.org/188443003/diff/120001/base/cpu.cc#newcode12 base/cpu.cc:12: #include "base/file_util.h" can we put the ...
6 years, 8 months ago (2014-04-24 03:36:49 UTC) #30
rptr
The CQ bit was checked by puttaraju.r@samsung.com
6 years, 8 months ago (2014-04-24 06:25:33 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/puttaraju.r@samsung.com/188443003/140001
6 years, 8 months ago (2014-04-24 06:25:54 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 08:27:27 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-24 08:27:28 UTC) #34
rptr
The CQ bit was checked by puttaraju.r@samsung.com
6 years, 8 months ago (2014-04-24 08:35:44 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/puttaraju.r@samsung.com/188443003/140001
6 years, 8 months ago (2014-04-24 08:35:52 UTC) #36
rptr
The CQ bit was unchecked by puttaraju.r@samsung.com
6 years, 8 months ago (2014-04-24 18:37:31 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 21:06:59 UTC) #38
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=174929
6 years, 8 months ago (2014-04-24 21:07:00 UTC) #39
rptr
The CQ bit was checked by puttaraju.r@samsung.com
6 years, 8 months ago (2014-04-25 05:20:56 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/puttaraju.r@samsung.com/188443003/160001
6 years, 8 months ago (2014-04-25 07:37:00 UTC) #41
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 08:35:09 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-25 08:35:11 UTC) #43
rptr
The CQ bit was checked by puttaraju.r@samsung.com
6 years, 8 months ago (2014-04-25 09:29:08 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/puttaraju.r@samsung.com/188443003/160001
6 years, 8 months ago (2014-04-25 12:52:27 UTC) #45
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 06:32:26 UTC) #46
rptr
+torne for android webview.
6 years, 7 months ago (2014-04-28 10:22:11 UTC) #48
rptr
6 years, 7 months ago (2014-04-28 10:42:06 UTC) #49
Torne
LGTM with one nit: https://chromiumcodereview.appspot.com/188443003/diff/180001/android_webview/lib/main/aw_main_delegate.cc File android_webview/lib/main/aw_main_delegate.cc (right): https://chromiumcodereview.appspot.com/188443003/diff/180001/android_webview/lib/main/aw_main_delegate.cc#newcode87 android_webview/lib/main/aw_main_delegate.cc:87: #if defined(ARCH_CPU_ARM_FAMILY) && (defined(OS_ANDROID) || ...
6 years, 7 months ago (2014-04-28 11:09:28 UTC) #50
rptr
https://chromiumcodereview.appspot.com/188443003/diff/180001/android_webview/lib/main/aw_main_delegate.cc File android_webview/lib/main/aw_main_delegate.cc (right): https://chromiumcodereview.appspot.com/188443003/diff/180001/android_webview/lib/main/aw_main_delegate.cc#newcode87 android_webview/lib/main/aw_main_delegate.cc:87: #if defined(ARCH_CPU_ARM_FAMILY) && (defined(OS_ANDROID) || defined(OS_LINUX)) On 2014/04/28 11:09:29, ...
6 years, 7 months ago (2014-04-28 11:28:03 UTC) #51
rptr
The CQ bit was checked by puttaraju.r@samsung.com
6 years, 7 months ago (2014-04-28 11:28:37 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/puttaraju.r@samsung.com/188443003/200001
6 years, 7 months ago (2014-04-28 11:28:52 UTC) #53
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 15:33:29 UTC) #54
Message was sent while issue was closed.
Change committed as 266575

Powered by Google App Engine
This is Rietveld 408576698