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

Issue 10696114: Upstreaming diffs in os_compat_android.cc (Closed)

Created:
8 years, 5 months ago by felipeg
Modified:
8 years, 5 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Upstreaming diffs in os_compat_android.cc The original change description is: Add mkdtemp() implementation. The Android C library doesn't expose mkdtemp() through the NDK (even though it implements it internally starting with ICS). To avoid any problem in the future and keep everything strictly compliant, provide our own implementation of the function. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146813

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -1 line) Patch
M base/base.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M base/os_compat_android.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M base/os_compat_android.cc View 1 2 3 4 2 chunks +123 lines, -0 lines 0 comments Download
A base/os_compat_android_unittest.cc View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
digit1
lgtm
8 years, 5 months ago (2012-07-05 09:11:08 UTC) #1
Philippe
lgtm
8 years, 5 months ago (2012-07-05 09:30:15 UTC) #2
felipeg
Ping
8 years, 5 months ago (2012-07-10 10:31:06 UTC) #3
felipeg
On 2012/07/10 10:31:06, felipeg1 wrote: > Ping FYI , I need brettw 's approval in ...
8 years, 5 months ago (2012-07-10 15:51:06 UTC) #4
brettw
https://chromiumcodereview.appspot.com/10696114/diff/1/base/os_compat_android.cc File base/os_compat_android.cc (right): https://chromiumcodereview.appspot.com/10696114/diff/1/base/os_compat_android.cc#newcode72 base/os_compat_android.cc:72: { Style: Check placement of { throughout this patch ...
8 years, 5 months ago (2012-07-10 20:56:04 UTC) #5
felipeg
https://chromiumcodereview.appspot.com/10696114/diff/1/base/os_compat_android.cc File base/os_compat_android.cc (right): https://chromiumcodereview.appspot.com/10696114/diff/1/base/os_compat_android.cc#newcode72 base/os_compat_android.cc:72: { On 2012/07/10 20:56:04, brettw wrote: > Style: Check ...
8 years, 5 months ago (2012-07-11 15:26:24 UTC) #6
digit1
https://chromiumcodereview.appspot.com/10696114/diff/1/base/os_compat_android.cc File base/os_compat_android.cc (right): https://chromiumcodereview.appspot.com/10696114/diff/1/base/os_compat_android.cc#newcode135 base/os_compat_android.cc:135: // pid string. This matches the BSD implementation. First, ...
8 years, 5 months ago (2012-07-11 15:40:48 UTC) #7
brettw
On 2012/07/11 15:40:48, digit1 wrote: > Given that there can be a lot more than ...
8 years, 5 months ago (2012-07-11 16:21:42 UTC) #8
digit1
> > Both the OpenGroup and the Linux man page say specifically 6 X's. Are ...
8 years, 5 months ago (2012-07-11 17:18:48 UTC) #9
felipeg
Hey guys. I changed it in a way to make the code easier to read. ...
8 years, 5 months ago (2012-07-12 14:32:27 UTC) #10
digit1
Thank you felipe, lgtm.
8 years, 5 months ago (2012-07-12 15:19:50 UTC) #11
brettw
LGTM, this does seem nicer, thanks. https://chromiumcodereview.appspot.com/10696114/diff/13001/base/os_compat_android.cc File base/os_compat_android.cc (right): https://chromiumcodereview.appspot.com/10696114/diff/13001/base/os_compat_android.cc#newcode132 base/os_compat_android.cc:132: for (int pos ...
8 years, 5 months ago (2012-07-12 18:22:34 UTC) #12
felipeg
Thanks. I added a unittest , which is disabled, since it may be cause of ...
8 years, 5 months ago (2012-07-13 10:17:47 UTC) #13
digit1
https://chromiumcodereview.appspot.com/10696114/diff/1003/base/os_compat_android_unittest.cc File base/os_compat_android_unittest.cc (right): https://chromiumcodereview.appspot.com/10696114/diff/1003/base/os_compat_android_unittest.cc#newcode20 base/os_compat_android_unittest.cc:20: char invalid_path[] = "/tmp/foobarXX"; the reason this test doesn't ...
8 years, 5 months ago (2012-07-13 10:34:04 UTC) #14
felipeg
On 2012/07/13 10:34:04, digit1 wrote: > https://chromiumcodereview.appspot.com/10696114/diff/1003/base/os_compat_android_unittest.cc > File base/os_compat_android_unittest.cc (right): > > https://chromiumcodereview.appspot.com/10696114/diff/1003/base/os_compat_android_unittest.cc#newcode20 > ...
8 years, 5 months ago (2012-07-13 10:39:50 UTC) #15
digit1
This seems fine. Thanks.
8 years, 5 months ago (2012-07-13 12:38:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felipeg@chromium.org/10696114/1004
8 years, 5 months ago (2012-07-16 14:53:30 UTC) #17
commit-bot: I haz the power
8 years, 5 months ago (2012-07-16 16:12:17 UTC) #18
Change committed as 146813

Powered by Google App Engine
This is Rietveld 408576698