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

Issue 2885423002: Provide base::EvictFileFromSystemCache on Android on ARM32 (Closed)

Created:
3 years, 7 months ago by Maks Orlovich
Modified:
3 years, 6 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Provide base::EvictFileFromSystemCache on Android on ARM32 This is needed to be able to run disk_cache_perftest on the platform. This just uses the Linux implementation, but provides a syscall wrapper since NDK won't provide one at the API level we build for. BUG=722885 Review-Url: https://codereview.chromium.org/2885423002 Cr-Commit-Position: refs/heads/master@{#476281} Committed: https://chromium.googlesource.com/chromium/src/+/1e701e32a7785efb6b77d42e6d2b838b4d4590c3

Patch Set 1 #

Patch Set 2 : There is a header for POSIX_FADV_DONTNEED, so use that rather than #define'ing it ourselves #

Total comments: 7

Patch Set 3 : Apply review feedback. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
M base/test/BUILD.gn View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M base/test/test_file_util_linux.cc View 1 2 1 chunk +31 lines, -0 lines 2 comments Download
M base/test/test_file_util_posix.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (14 generated)
Maks Orlovich
3 years, 7 months ago (2017-05-17 15:09:21 UTC) #6
Maks Orlovich
Ping?
3 years, 6 months ago (2017-05-30 15:31:16 UTC) #9
jbudorick
Sorry about the delay here. Not an owner, but this generally seems reasonable. https://codereview.chromium.org/2885423002/diff/20001/base/test/test_file_util_linux.cc File ...
3 years, 6 months ago (2017-05-30 15:48:03 UTC) #10
Maks Orlovich
https://codereview.chromium.org/2885423002/diff/20001/base/test/test_file_util_linux.cc File base/test/test_file_util_linux.cc (right): https://codereview.chromium.org/2885423002/diff/20001/base/test/test_file_util_linux.cc#newcode24 base/test/test_file_util_linux.cc:24: // Inconveniently, the NDK doesn't provide for posix_fadvise On ...
3 years, 6 months ago (2017-05-30 16:49:18 UTC) #11
jbudorick
non-owner lgtm https://codereview.chromium.org/2885423002/diff/20001/base/test/test_file_util_linux.cc File base/test/test_file_util_linux.cc (right): https://codereview.chromium.org/2885423002/diff/20001/base/test/test_file_util_linux.cc#newcode24 base/test/test_file_util_linux.cc:24: // Inconveniently, the NDK doesn't provide for ...
3 years, 6 months ago (2017-05-30 16:52:05 UTC) #14
Paweł Hajdan Jr.
https://codereview.chromium.org/2885423002/diff/40001/base/test/test_file_util_linux.cc File base/test/test_file_util_linux.cc (right): https://codereview.chromium.org/2885423002/diff/40001/base/test/test_file_util_linux.cc#newcode27 base/test/test_file_util_linux.cc:27: #if defined(OS_ANDROID) && __ANDROID_API__ < 21 If this is ...
3 years, 6 months ago (2017-05-31 15:28:13 UTC) #17
Maks Orlovich
https://codereview.chromium.org/2885423002/diff/40001/base/test/test_file_util_linux.cc File base/test/test_file_util_linux.cc (right): https://codereview.chromium.org/2885423002/diff/40001/base/test/test_file_util_linux.cc#newcode27 base/test/test_file_util_linux.cc:27: #if defined(OS_ANDROID) && __ANDROID_API__ < 21 On 2017/05/31 15:28:13, ...
3 years, 6 months ago (2017-05-31 15:30:25 UTC) #18
Paweł Hajdan Jr.
Ah, got it. LGTM.
3 years, 6 months ago (2017-06-01 10:38:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2885423002/40001
3 years, 6 months ago (2017-06-01 13:04:04 UTC) #21
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 14:40:24 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/1e701e32a7785efb6b77d42e6d2b...

Powered by Google App Engine
This is Rietveld 408576698