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

Issue 1848523002: Changes to support using base/feature_list.h from gin/. (Closed)

Created:
4 years, 8 months ago by Alexei Svitkine (slow)
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changes to support using base/feature_list.h from gin/. Since gin/ (V8) is used from a number of different processes and test harnesses, this required updating them to ensure they initialize a base::FeatureList instance (which is required before querying the API to ensure code doesn't incorrectly query the API too early). Additionally, for test_suite.cc, the FeatureList initialization needed to happen earlier - since some sub-classes of it initialize gin from their Initialize() functions. The initialization was also switched to use FeatureList::InitializeInstance() since for some test suites, a FeatureList would already exist. BUG=599165, 563705 Committed: https://crrev.com/e6be55d0de165a41e25a5bd4d41181f562caf3f3 Cr-Commit-Position: refs/heads/master@{#385053}

Patch Set 1 : Try results with a gin/isolate_holder.cc Feature. #

Patch Set 2 : gin/isolate_holder.cc changes (sample feature) reverted. #

Total comments: 2

Patch Set 3 : Change TestSuite code to be in Initialize()/Shutdown(). #

Patch Set 4 : (trybot change) re-add temp code to gin/isolate_holder.cc to see if trybots still pass #

Patch Set 5 : Test passed with gin/isolate_holder.cc feature. Reverting that test code again. #

Patch Set 6 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -15 lines) Patch
M base/feature_list.h View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M base/feature_list.cc View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M base/test/test_suite.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M base/test/test_suite.cc View 1 2 3 4 5 4 chunks +13 lines, -9 lines 0 comments Download
M content/ppapi_plugin/ppapi_plugin_main.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M content/utility/utility_main.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M gin/shell/gin_main.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
Alexei Svitkine (slow)
rkaplow: FeatureList logic review jochen: OWNERS review for content/ and gin/
4 years, 8 months ago (2016-04-01 21:19:34 UTC) #12
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-04-03 11:17:43 UTC) #13
Alexei Svitkine (slow)
Thanks Jochen. +phajdan.jr for base/test OWNERS rkaplow, friendly ping for the CL overall. Thanks!
4 years, 8 months ago (2016-04-04 14:50:57 UTC) #15
rkaplow
lgtm
4 years, 8 months ago (2016-04-04 15:46:28 UTC) #16
Paweł Hajdan Jr.
LGTM w/optional comment https://codereview.chromium.org/1848523002/diff/180001/base/test/test_suite.cc File base/test/test_suite.cc (right): https://codereview.chromium.org/1848523002/diff/180001/base/test/test_suite.cc#newcode215 base/test/test_suite.cc:215: // Set up a FeatureList instance, ...
4 years, 8 months ago (2016-04-04 16:45:17 UTC) #17
Alexei Svitkine (slow)
Thanks all! cq-ing https://codereview.chromium.org/1848523002/diff/180001/base/test/test_suite.cc File base/test/test_suite.cc (right): https://codereview.chromium.org/1848523002/diff/180001/base/test/test_suite.cc#newcode215 base/test/test_suite.cc:215: // Set up a FeatureList instance, ...
4 years, 8 months ago (2016-04-04 20:01:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848523002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848523002/240001
4 years, 8 months ago (2016-04-04 20:02:38 UTC) #21
commit-bot: I haz the power
Failed to apply patch for base/test/test_suite.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 8 months ago (2016-04-04 21:26:41 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848523002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848523002/260001
4 years, 8 months ago (2016-04-04 21:38:07 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:260001)
4 years, 8 months ago (2016-04-04 23:30:02 UTC) #29
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 23:31:57 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e6be55d0de165a41e25a5bd4d41181f562caf3f3
Cr-Commit-Position: refs/heads/master@{#385053}

Powered by Google App Engine
This is Rietveld 408576698