diff options
author | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-07 22:10:16 +0000 |
---|---|---|
committer | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-07 22:10:16 +0000 |
commit | de08f1b3cbe91b46e83f50a6068bcbf4ed3733f9 (patch) | |
tree | ae57f536390fe33943b7635b7c5b564ad5dc1a98 /jingle | |
parent | c7df61b00031cb61da53133ae145042fa5f77164 (diff) | |
download | chromium_src-de08f1b3cbe91b46e83f50a6068bcbf4ed3733f9.zip chromium_src-de08f1b3cbe91b46e83f50a6068bcbf4ed3733f9.tar.gz chromium_src-de08f1b3cbe91b46e83f50a6068bcbf4ed3733f9.tar.bz2 |
Revert 108910 - Remove HostResolverImpl from Mock*HostResolver.
MockHostResolver should not depend on the job dispatch machinery of
HostResolverImpl. This implementation aims to be more readable/reliable
while providing the same testing utility.
MockHostResolver does not use extra threads hence cannot support
WaitingHostResolverProc. To mock slow resolution, HangingHostResolver is
provided for unit_tests:PredictorTest.
Updated host_resolver_impl_unittest to test HostResolverImpl directly
(rather than through MockHostResolver).
BUG=99889
TEST=./net_unittests ; ./unit_tests --gtest_filter='PredictorTest.*' ; ./jingle_unittests
Review URL: http://codereview.chromium.org/8267001
TBR=szym@chromium.org
Review URL: http://codereview.chromium.org/8491023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108922 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/notifier/communicator/xmpp_connection_generator_unittest.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc b/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc index b57a3c3..04da3df 100644 --- a/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc +++ b/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc @@ -5,7 +5,6 @@ #include "jingle/notifier/communicator/xmpp_connection_generator.h" #include "base/basictypes.h" -#include "base/message_loop.h" #include "jingle/notifier/communicator/connection_options.h" #include "jingle/notifier/communicator/connection_settings.h" #include "net/base/host_port_pair.h" |