Index: chrome/common/extensions/extension.h |
=================================================================== |
--- chrome/common/extensions/extension.h (revision 48045) |
+++ chrome/common/extensions/extension.h (working copy) |
@@ -209,6 +209,10 @@ |
// Returns the base extension url for a given |extension_id|. |
static GURL GetBaseURLFromExtensionId(const std::string& extension_id); |
+ // Returns whether the browser has apps enabled (either as the default or if |
+ // it was explictly turned on via a command line switch). |
+ static bool AppsAreEnabled(); |
+ |
// Initialize the extension from a parsed manifest. |
// Usually, the id of an extension is generated by the "key" property of |
// its manifest, but if |require_key| is |false|, a temporary ID will be |