commit | b9b02e0537eac358b8facb9802e16adce590f0ea | [log] [tgz] |
---|---|---|
author | Sylvain Defresne <sdefresne@chromium.org> | Mon Feb 18 14:44:36 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 18 14:44:36 2019 |
tree | f367bda396d5c60db6a29f6383469deb85aa5115 | |
parent | 749c2dbf448f1e35a1a87df58ce09dbd2424e945 [diff] |
Remove KeyedServiceBaseFactory::RegisterUserPrefsOnContextForTest Remove obsolete method RegisterUserPrefsOnContextForTest from KeyedServiceBaseFactory (tests should instead register the prefs before creating instances of the services by using testing context like TestingProfile or TestChromeBrowserState). Also remove all supporting code present to ensure that the prefs are not registered twice due to RegisterUserPrefsOnContextForTest interaction with registration via DependencyManager. Bug: 932534 Change-Id: Id49b802d9cc6818cb101b8b9697b274a9e5d2e3b Reviewed-on: https://chromium-review.googlesource.com/c/1474938 Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#633091}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .