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

Issue 2862123002: Pass the GUID for the SharedMemoryHandle used by base::FieldTrialList. (Closed)

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

Description

Pass the GUID for the SharedMemoryHandle used by base::FieldTrialList. SharedMemoryHandle now has a GUID used to track shared memory usage across processes. The SharedMemoryHandle used by base::FieldTrialList is passed manually by command line flag and Process creation options. This CL appends the GUID to the command line flag. BUG=713763 Review-Url: https://codereview.chromium.org/2862123002 Cr-Commit-Position: refs/heads/master@{#470700} Committed: https://chromium.googlesource.com/chromium/src/+/2525d998c7c50bce5ca17fb934c2aeb8e27e1db0

Patch Set 1 #

Patch Set 2 : Add test. #

Patch Set 3 : clang format #

Total comments: 9

Patch Set 4 : Comments from asvitkine. #

Total comments: 14

Patch Set 5 : Comments from asvitkine. #

Total comments: 2

Patch Set 6 : Pass string piece by value. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -76 lines) Patch
M base/metrics/field_trial.h View 1 2 3 4 4 chunks +27 lines, -6 lines 0 comments Download
M base/metrics/field_trial.cc View 1 2 3 4 5 10 chunks +106 lines, -67 lines 0 comments Download
M base/metrics/field_trial_unittest.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M content/browser/child_process_launcher_helper_posix.cc View 1 2 1 chunk +6 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (27 generated)
erikchen
asvitkine: Please review. avi: Please review content/
3 years, 7 months ago (2017-05-05 04:19:22 UTC) #10
Avi (use Gerrit)
lgtm https://codereview.chromium.org/2862123002/diff/30001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2862123002/diff/30001/base/metrics/field_trial.cc#newcode1121 base/metrics/field_trial.cc:1121: std::getline(iss, token, ','); You use base::StringToInt, why not ...
3 years, 7 months ago (2017-05-05 04:30:12 UTC) #11
Alexei Svitkine (slow)
Thanks! Comments below. https://codereview.chromium.org/2862123002/diff/30001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2862123002/diff/30001/base/metrics/field_trial.cc#newcode838 base/metrics/field_trial.cc:838: const char* field_trial_switch_value, It's not the ...
3 years, 7 months ago (2017-05-05 18:02:16 UTC) #12
erikchen
asvitkine: PTAL https://codereview.chromium.org/2862123002/diff/30001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2862123002/diff/30001/base/metrics/field_trial.cc#newcode838 base/metrics/field_trial.cc:838: const char* field_trial_switch_value, On 2017/05/05 18:02:16, Alexei ...
3 years, 7 months ago (2017-05-05 19:41:51 UTC) #13
Alexei Svitkine (slow)
https://codereview.chromium.org/2862123002/diff/50001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2862123002/diff/50001/base/metrics/field_trial.cc#newcode760 base/metrics/field_trial.cc:760: const char* field_trial_switch_value, Nit: You still have a sed ...
3 years, 7 months ago (2017-05-05 22:37:51 UTC) #16
erikchen
asvitkine: PTAL https://codereview.chromium.org/2862123002/diff/50001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2862123002/diff/50001/base/metrics/field_trial.cc#newcode760 base/metrics/field_trial.cc:760: const char* field_trial_switch_value, On 2017/05/05 22:37:50, Alexei ...
3 years, 7 months ago (2017-05-08 23:37:49 UTC) #19
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2862123002/diff/70001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2862123002/diff/70001/base/metrics/field_trial.cc#newcode222 base/metrics/field_trial.cc:222: bool DeserializeGUIDFromStringPieces(const base::StringPiece& first, Nit: StringPiece is meant ...
3 years, 7 months ago (2017-05-09 14:47:40 UTC) #24
erikchen
https://codereview.chromium.org/2862123002/diff/70001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2862123002/diff/70001/base/metrics/field_trial.cc#newcode222 base/metrics/field_trial.cc:222: bool DeserializeGUIDFromStringPieces(const base::StringPiece& first, On 2017/05/09 14:47:40, Alexei Svitkine ...
3 years, 7 months ago (2017-05-09 16:53:52 UTC) #25
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/2862123002/90001
3 years, 7 months ago (2017-05-09 16:55:05 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/335279)
3 years, 7 months ago (2017-05-09 18:00:00 UTC) #30
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/2862123002/90001
3 years, 7 months ago (2017-05-09 18:11:27 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/335390)
3 years, 7 months ago (2017-05-09 21:23:44 UTC) #34
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/2862123002/90001
3 years, 7 months ago (2017-05-09 23:14:23 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 01:18:15 UTC) #38
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/2862123002/90001
3 years, 7 months ago (2017-05-10 17:29:38 UTC) #40
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 20:46:37 UTC) #43
Message was sent while issue was closed.
Committed patchset #6 (id:90001) as
https://chromium.googlesource.com/chromium/src/+/2525d998c7c50bce5ca17fb934c2...

Powered by Google App Engine
This is Rietveld 408576698