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 78ef6f2b6ef74241f49e64bec74ff8bfda04369c..cb82f2d6a582f1a8135b4100c0255e59b93beff5 100644 |
--- a/chrome/browser/extensions/test_extension_system.h |
+++ b/chrome/browser/extensions/test_extension_system.h |
@@ -71,6 +71,9 @@ class TestExtensionSystem : public ExtensionSystem { |
OVERRIDE; |
virtual ExtensionWarningService* warning_service() OVERRIDE; |
virtual Blacklist* blacklist() OVERRIDE; |
+ virtual const OneShotEvent& ready() const OVERRIDE; |
+ // Calls ready().Signal(). |
+ void MakeReady(); |
// Factory method for tests to use with SetTestingProfile. |
static ProfileKeyedService* Build(content::BrowserContext* profile); |
@@ -79,6 +82,8 @@ class TestExtensionSystem : public ExtensionSystem { |
Profile* profile_; |
private: |
+ virtual void ExtensionServiceReady() OVERRIDE; |
+ |
// The Extension Preferences. Only created if CreateExtensionService is |
// invoked. |
scoped_ptr<ExtensionPrefs> extension_prefs_; |
@@ -93,6 +98,7 @@ class TestExtensionSystem : public ExtensionSystem { |
scoped_ptr<LocationManager> location_manager_; |
scoped_refptr<ExtensionInfoMap> info_map_; |
scoped_ptr<ApiResourceManager<Socket> > socket_manager_; |
+ OneShotEvent ready_; |
}; |
} // namespace extensions |