summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extensions_service.h')
-rw-r--r--chrome/browser/extensions/extensions_service.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h
index d8fa0d0..f2f0b56 100644
--- a/chrome/browser/extensions/extensions_service.h
+++ b/chrome/browser/extensions/extensions_service.h
@@ -142,6 +142,11 @@ class ExtensionsService
return show_extensions_prompts_;
}
+ ExtensionPrefs* extension_prefs() { return extension_prefs_.get(); }
+
+ // Whether the extension service is ready.
+ bool is_ready() { return ready_; }
+
private:
// For OnExtensionLoaded, OnExtensionInstalled, and
// OnExtensionVersionReinstalled.
@@ -186,6 +191,9 @@ class ExtensionsService
// The backend that will do IO on behalf of this instance.
scoped_refptr<ExtensionsServiceBackend> backend_;
+ // Is the service ready to go?
+ bool ready_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionsService);
};