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.
Make EmbeddedTestServer usable in the absence of pre-existing threads.
This changes EmbeddedTestServer to work in cases where the thread it gets initialized/destroyed on doesn't have a message loop. Also, the constructor now allows to not pass an I/O thread task runner, in which case the test server will create a dedicated message loop for servicing requests. BUG=None TEST=unit tests. Review URL: https://chromiumcodereview.appspot.com/23205005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221028 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
mnissler@chromium.org
committed
Sep 3, 2013
1 parent
fe1f42e
commit d6368b8
Showing
5 changed files
with
135 additions
and
26 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
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