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

Unified Diff: components/password_manager/core/browser/password_manager_test_utils.h

Issue 2226063002: Add a ScopedFeatureList class for testing and start using it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue in previous patchset. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/password_manager_test_utils.h
diff --git a/components/password_manager/core/browser/password_manager_test_utils.h b/components/password_manager/core/browser/password_manager_test_utils.h
index cb9a95f3cd916edaaa62ea24328ed6fd8771b19e..d8b507bb35830ccf90051ac084fde0806dd2c028 100644
--- a/components/password_manager/core/browser/password_manager_test_utils.h
+++ b/components/password_manager/core/browser/password_manager_test_utils.h
@@ -73,13 +73,6 @@ MATCHER_P(UnorderedPasswordFormElementsAre, expectations, "") {
result_listener->stream());
}
-// Helper function to initialize feature overrides via command-line flags
-// supplied as |enable_features| and |disable_features| using the
-// |feature_list|.
-void SetFeatures(const std::vector<const base::Feature*>& enable_features,
- const std::vector<const base::Feature*>& disable_features,
- std::unique_ptr<base::FeatureList> feature_list);
-
class MockPasswordStoreObserver : public PasswordStore::Observer {
public:
MockPasswordStoreObserver();

Powered by Google App Engine
This is Rietveld 408576698