summaryrefslogtreecommitdiffstats
path: root/jingle/notifier
diff options
context:
space:
mode:
authorszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-07 21:22:47 +0000
committerszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-07 21:22:47 +0000
commite6652dec003b75acea1e7c51efafb5f2121e312d (patch)
tree08a18c02c448cd74df18d2ab60b0cfbc1e1f6100 /jingle/notifier
parent60eba2eeb139f71141042254db2071f1148e03fc (diff)
downloadchromium_src-e6652dec003b75acea1e7c51efafb5f2121e312d.zip
chromium_src-e6652dec003b75acea1e7c51efafb5f2121e312d.tar.gz
chromium_src-e6652dec003b75acea1e7c51efafb5f2121e312d.tar.bz2
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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/notifier')
-rw-r--r--jingle/notifier/communicator/xmpp_connection_generator_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc b/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc
index 04da3df..b57a3c3 100644
--- a/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc
+++ b/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc
@@ -5,6 +5,7 @@
#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"