forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SyncTest on ChromeOS with network service.
All tests based on SyncTest create a NetworkServiceConfigTestUtil, which needs a URLRequestContext. This CL adds a NetworkServiceConfigTestUtil constructor that takes a NetworkContext instead, and updates the test to call the right constructor based on whether the network service is enabled. Bug: 924250 Change-Id: I211fe1d8c01008fb8bf3648146be1e5f95870eaf Reviewed-on: https://chromium-review.googlesource.com/c/1449165 Reviewed-by: Sergey Ulanov <[email protected]> Reviewed-by: Marc Treib <[email protected]> Reviewed-by: Maks Orlovich <[email protected]> Commit-Queue: Robbie McElrath <[email protected]> Cr-Commit-Position: refs/heads/master@{#628829}
- Loading branch information
Showing
3 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters