summaryrefslogtreecommitdiffstats
path: root/net/base/net_test_suite.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/net_test_suite.h')
-rw-r--r--net/base/net_test_suite.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/base/net_test_suite.h b/net/base/net_test_suite.h
index feb00dd..3ad03e8 100644
--- a/net/base/net_test_suite.h
+++ b/net/base/net_test_suite.h
@@ -34,6 +34,12 @@ class NetTestSuite : public base::TestSuite {
// initialization that can only be done once.
void InitializeTestThread();
+ // Same as above, except it does not create a mock
+ // NetworkChangeNotifier. Use this if your test needs to create and
+ // manage its own mock NetworkChangeNotifier, or if your test uses
+ // the production NetworkChangeNotifier.
+ void InitializeTestThreadNoNetworkChangeNotifier();
+
private:
scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
scoped_ptr<MessageLoop> message_loop_;