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

Unified Diff: chrome/browser/extensions/test_extension_system.h

Issue 10795052: Improve unit testing of socket API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tricky IO thread issues in a way that doesn't kill 50 other tests. Created 8 years, 5 months 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
Index: chrome/browser/extensions/test_extension_system.h
diff --git a/chrome/browser/extensions/test_extension_system.h b/chrome/browser/extensions/test_extension_system.h
index d27f3b0eedb3e15a2301e108657ca6d73cec32e9..9864b1d52654261ef2e5c4b4e80efa08c95dd245 100644
--- a/chrome/browser/extensions/test_extension_system.h
+++ b/chrome/browser/extensions/test_extension_system.h
@@ -41,6 +41,8 @@ class TestExtensionSystem : public ExtensionSystem {
// Creates an AlarmManager. Will be NULL otherwise.
void CreateAlarmManager(base::Time (*now)());
+ void CreateSocketManager();
+
virtual void Init(bool extensions_enabled) OVERRIDE {}
void SetExtensionService(ExtensionService* service);
virtual ExtensionService* extension_service() OVERRIDE;
@@ -76,6 +78,7 @@ class TestExtensionSystem : public ExtensionSystem {
scoped_ptr<ExtensionProcessManager> extension_process_manager_;
scoped_ptr<AlarmManager> alarm_manager_;
scoped_refptr<ExtensionInfoMap> info_map_;
+ scoped_ptr<ApiResourceManager<Socket> > socket_manager_;
};
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/api/socket/socket_api_unittest.cc ('k') | chrome/browser/extensions/test_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698