|
|
Chromium Code Reviews|
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. |
DescriptionEnable 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. #
Messages
Total messages: 66 (59 generated)
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Enable field trial shared memory segment on Android. This is the last platform that didn't have this support, which was added last fall for the other platforms. Turns out, it just works (I tested this on a local build and verified that things are working correctly and an induced chrome://crash report has all the field trials and the expected command line flags). This CL also cleans up all the ifdefs, which originally needed to special case POSIX_WITH_ZYGOTE but no longer need to now. The other platforms were enabled under crbug.com/663918 BUG=681695 ========== to ========== Enable field trial shared memory segment on Android. This is the last platform that didn't have this support, which was added last fall for the other platforms. 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 also cleans up all the ifdefs, which originally needed to special case POSIX_WITH_ZYGOTE but no longer need to now. The other platforms were enabled under crbug.com/663918 BUG=681695 ==========
Description was changed from ========== Enable field trial shared memory segment on Android. This is the last platform that didn't have this support, which was added last fall for the other platforms. 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 also cleans up all the ifdefs, which originally needed to special case POSIX_WITH_ZYGOTE but no longer need to now. The other platforms were enabled under crbug.com/663918 BUG=681695 ========== to ========== Enable field trial shared memory segment on Android. This is the last platform that didn't have this support, which was added last fall for the other platforms. 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 also cleans up all the ifdefs, which originally needed to special case POSIX_WITH_ZYGOTE but no longer need to now. The other platforms were enabled under crbug.com/663918 BUG=681695 ==========
Patchset #1 (id:1) has been deleted
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Enable field trial shared memory segment on Android. This is the last platform that didn't have this support, which was added last fall for the other platforms. 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 also cleans up all the ifdefs, which originally needed to special case POSIX_WITH_ZYGOTE but no longer need to now. The other platforms were enabled under crbug.com/663918 BUG=681695 ========== to ========== 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. 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 also cleans up all the ifdefs, which originally needed to special case POSIX_WITH_ZYGOTE but no longer need to now. The other platforms were enabled under crbug.com/663918 BUG=681695 ==========
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:20001) has been deleted
Patchset #1 (id:40001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== 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. 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 also cleans up all the ifdefs, which originally needed to special case POSIX_WITH_ZYGOTE but no longer need to now. The other platforms were enabled under crbug.com/663918 BUG=681695 ========== to ========== 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 to explicitly exclude IOS and NACL from the POSIX codepath and moves one function so that its order matches the header file. BUG=681695 ==========
Description was changed from ========== 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 to explicitly exclude IOS and NACL from the POSIX codepath and moves one function so that its order matches the header file. BUG=681695 ========== to ========== 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 to explicitly exclude IOS and NACL from the POSIX codepath and moves one function so that its order matches the header file. BUG=681695 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...)
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== 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 to explicitly exclude IOS and NACL from the POSIX codepath and moves one function so that its order matches the header file. BUG=681695 ========== to ========== 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. BUG=681695 ==========
Description was changed from ========== 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. BUG=681695 ========== to ========== 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 a TerminateBecauseOutOfMemory() anon function which otherwise gives a link error on NACL due to not existing. BUG=681695 ==========
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #3 (id:100001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== 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 a TerminateBecauseOutOfMemory() anon function which otherwise gives a link error on NACL due to not existing. BUG=681695 ========== to ========== 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 ==========
Patchset #3 (id:120001) has been deleted
Patchset #3 (id:140001) has been deleted
Patchset #1 (id:60001) has been deleted
Patchset #1 (id:80001) has been deleted
Patchset #1 (id:160001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...)
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
asvitkine@chromium.org changed reviewers: + bcwhite@chromium.org
Patchset #1 (id:180001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
bcwhite; friendly ping
lgtm https://codereview.chromium.org/2633203002/diff/200001/base/metrics/field_tri... File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2633203002/diff/200001/base/metrics/field_tri... base/metrics/field_trial.cc:888: #else How about: #elif defined(OS_POSIX) ... #else #error Unsupported OS #endif
Thanks! Looks like M57 branch point is this week, so I'll wait and land this after that just to be safe. https://codereview.chromium.org/2633203002/diff/200001/base/metrics/field_tri... File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2633203002/diff/200001/base/metrics/field_tri... base/metrics/field_trial.cc:888: #else On 2017/01/18 19:24:34, bcwhite wrote: > How about: > > #elif defined(OS_POSIX) > ... > #else > #error Unsupported OS > #endif Done.
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Looks like M57 has branched, so will be landing this.
The CQ bit was checked by asvitkine@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from bcwhite@chromium.org Link to the patchset: https://codereview.chromium.org/2633203002/#ps220001 (title: "Add #error Unsupported OS.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 220001, "attempt_start_ts": 1485193910722110,
"parent_rev": "5b3146e409fb25ffe5e45b9fe6c207abe86d04e1", "commit_rev":
"f8d5915aabda618649aea2495a8b08da938cb269"}
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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/+/f8d5915aabda618649aea2495a8b... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:220001) as https://chromium.googlesource.com/chromium/src/+/f8d5915aabda618649aea2495a8b... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
