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

Issue 2633203002: Enable field trial shared memory segment on Android. (Closed)

Created:
3 years, 11 months ago by Alexei Svitkine (slow)
Modified:
3 years, 11 months ago
Reviewers:
bcwhite
CC:
chromium-reviews, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable field trial shared memory segment on Android. This is the last platform (not counting iOS) that didn't have this support, which was added last fall for the other platforms. The other platforms were enabled under crbug.com/663918 Turns out, it just works. I tested this on a local build and verified that things are working correctly via an induced chrome://crash which had all the field trials and the expected command line flags. This CL mostly cleans up the ifdefs and moves one function so that its order matches the header file. Also reduces the !NACL ifdefs by defining an anon wrapper around TerminateBecauseOutOfMemory() which doesn't exist for NACL. BUG=681695 Review-Url: https://codereview.chromium.org/2633203002 Cr-Commit-Position: refs/heads/master@{#445457} Committed: https://chromium.googlesource.com/chromium/src/+/f8d5915aabda618649aea2495a8b08da938cb269

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add #error Unsupported OS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -50 lines) Patch
M base/metrics/field_trial.h View 2 chunks +4 lines, -2 lines 0 comments Download
M base/metrics/field_trial.cc View 1 13 chunks +44 lines, -48 lines 0 comments Download

Messages

Total messages: 66 (59 generated)
Alexei Svitkine (slow)
3 years, 11 months ago (2017-01-17 17:17:36 UTC) #49
Alexei Svitkine (slow)
bcwhite; friendly ping
3 years, 11 months ago (2017-01-18 19:11:19 UTC) #53
bcwhite
lgtm https://codereview.chromium.org/2633203002/diff/200001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2633203002/diff/200001/base/metrics/field_trial.cc#newcode888 base/metrics/field_trial.cc:888: #else How about: #elif defined(OS_POSIX) ... #else #error ...
3 years, 11 months ago (2017-01-18 19:24:34 UTC) #54
Alexei Svitkine (slow)
Thanks! Looks like M57 branch point is this week, so I'll wait and land this ...
3 years, 11 months ago (2017-01-18 20:05:02 UTC) #55
Alexei Svitkine (slow)
Looks like M57 has branched, so will be landing this.
3 years, 11 months ago (2017-01-23 17:51:40 UTC) #60
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/2633203002/220001
3 years, 11 months ago (2017-01-23 17:52:17 UTC) #63
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 20:14:49 UTC) #66
Message was sent while issue was closed.
Committed patchset #2 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/f8d5915aabda618649aea2495a8b...

Powered by Google App Engine
This is Rietveld 408576698