Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1058)

Unified Diff: net/base/net_test_suite.h

Issue 8894008: Make CF net tests a content::BrowserMainParts. (Closed) Base URL: ssh://joi@192.168.1.201/home/joi/c/chrome/src@cfnettests
Patch Set: Address review comments, fix compile issues. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/test/poor_mans_trybot.bat ('k') | net/base/net_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_test_suite.h
diff --git a/net/base/net_test_suite.h b/net/base/net_test_suite.h
index feb00dd56b72180cc89eb3b9349a731602913611..3ad03e83e35bccc6512788ce3f67e8272d48fa94 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_;
« no previous file with comments | « chrome_frame/test/poor_mans_trybot.bat ('k') | net/base/net_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698