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

Issue 2484613002: Migrate more tests to ScopedFeatureList. (Closed)

Created:
4 years, 1 month ago by Alexei Svitkine (slow)
Modified:
4 years, 1 month ago
Reviewers:
brettw, Ilya Sherman
CC:
chromium-reviews, oshima+watch_chromium.org, apacible+watch_chromium.org, dimich+watch_chromium.org, extensions-reviews_chromium.org, chili+watch_chromium.org, fgorski+watch_chromium.org, sebsg+autofillwatch_chromium.org, jam, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, chromium-apps-reviews_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, Randy Smith (Not in Mondays), petewil+watch_chromium.org, loading-reviews_chromium.org, pam+watch_chromium.org, asvitkine+watch_chromium.org, gcasto+watchlist_chromium.org, sync-reviews_chromium.org, feature-media-reviews_chromium.org, romax+watch_chromium.org, mathp+autofillwatch_chromium.org, tfarina, jdonnelly+autofillwatch_chromium.org, dewittj+watch_chromium.org, mmenke, grt+watch_chromium.org, estade+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Migrate more tests to ScopedFeatureList. ScopedFeatureList ensures that the global FeatureList instance is restored to the original state at the end of the scope and results in less code. BUG=620435 TBR=brettw@chromium.org Committed: https://crrev.com/b1db826c74369f712111099190ae6bc6311ec9e7 Cr-Commit-Position: refs/heads/master@{#430560}

Patch Set 1 #

Patch Set 2 : fix weakptrfactory must be last member error #

Total comments: 2

Patch Set 3 : Fix build #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -203 lines) Patch
M base/feature_list.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/browser_about_handler_unittest.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/hats/hats_finch_helper_unittest.cc View 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_service_sync_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/metrics/antivirus_metrics_provider_win_unittest.cc View 1 3 chunks +14 lines, -16 lines 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/permission_reporter_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc View 5 chunks +10 lines, -12 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service_unittest.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/startup/default_browser_infobar_delegate_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/constrained_window_views_browsertest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view_interactive_uitest.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/translate/translate_bubble_view_unittest.cc View 3 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/uber/uber_ui_browsertest.cc View 3 chunks +5 lines, -11 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 3 chunks +7 lines, -8 lines 0 comments Download
M components/sync/engine_impl/sync_manager_impl_unittest.cc View 7 chunks +9 lines, -22 lines 0 comments Download
M components/variations/field_trial_config/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/variations/field_trial_config/field_trial_util_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/loader/async_resource_handler_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M content/browser/loader/async_revalidation_manager_browsertest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M content/browser/loader/reload_cache_control_browsertest.cc View 4 chunks +9 lines, -11 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 1 2 3 4 chunks +4 lines, -7 lines 0 comments Download
M content/browser/media/session/media_session_impl_visibility_browsertest.cc View 3 chunks +4 lines, -10 lines 0 comments Download
M content/browser/memory/memory_coordinator.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/memory/memory_coordinator.cc View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/memory/memory_coordinator_browsertest.cc View 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/memory/memory_coordinator_impl_unittest.cc View 3 chunks +4 lines, -1 line 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 2 3 2 chunks +5 lines, -6 lines 0 comments Download
M media/blink/webmediaplayer_impl_unittest.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 64 (55 generated)
Alexei Svitkine (slow)
4 years, 1 month ago (2016-11-07 23:25:28 UTC) #37
Ilya Sherman
LGTM, thanks. https://codereview.chromium.org/2484613002/diff/160001/base/feature_list.h File base/feature_list.h (right): https://codereview.chromium.org/2484613002/diff/160001/base/feature_list.h#newcode167 base/feature_list.h:167: // a look at using base/test/scoped_feature_list.h instead. ...
4 years, 1 month ago (2016-11-08 00:20:00 UTC) #42
Alexei Svitkine (slow)
https://codereview.chromium.org/2484613002/diff/160001/base/feature_list.h File base/feature_list.h (right): https://codereview.chromium.org/2484613002/diff/160001/base/feature_list.h#newcode167 base/feature_list.h:167: // a look at using base/test/scoped_feature_list.h instead. On 2016/11/08 ...
4 years, 1 month ago (2016-11-08 08:03:58 UTC) #49
Alexei Svitkine (slow)
+TBR=brettw@chromium.org for OWNERs of downstream changes of base/feature_list.h
4 years, 1 month ago (2016-11-08 08:05:09 UTC) #52
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/2484613002/180001
4 years, 1 month ago (2016-11-08 08:05:29 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/299309)
4 years, 1 month ago (2016-11-08 08:12:13 UTC) #57
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/2484613002/200001
4 years, 1 month ago (2016-11-08 08:19:17 UTC) #60
commit-bot: I haz the power
Committed patchset #4 (id:200001)
4 years, 1 month ago (2016-11-08 09:48:51 UTC) #62
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 09:57:16 UTC) #64
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b1db826c74369f712111099190ae6bc6311ec9e7
Cr-Commit-Position: refs/heads/master@{#430560}

Powered by Google App Engine
This is Rietveld 408576698