| Index: chrome/browser/extensions/extension_service.h
|
| diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
|
| index 86dea9dfad995bb5c948dc5f557b052ca2b2f45d..5d9ecc9d15166075152ccd8a4c152f7f1e6ac82b 100644
|
| --- a/chrome/browser/extensions/extension_service.h
|
| +++ b/chrome/browser/extensions/extension_service.h
|
| @@ -541,9 +541,10 @@ class ExtensionService
|
| // Helper that updates the active extension list used for crash reporting.
|
| void UpdateActiveExtensionsInCrashReporter();
|
|
|
| - // Helper to determine whether we should initially enable an installed
|
| - // (or upgraded) extension.
|
| - bool ShouldEnableOnInstall(const extensions::Extension* extension);
|
| + // Helper to get the disable reasons for an installed (or upgraded) extension.
|
| + // A return value of Extension::DISABLE_NONE indicates that we should enable
|
| + // this extension initially.
|
| + int GetDisableReasonsOnInstalled(const extensions::Extension* extension);
|
|
|
| // Helper to determine if updating an extensions should proceed immediately,
|
| // or if we should delay the update until further notice.
|
| @@ -729,6 +730,8 @@ class ExtensionService
|
| GreylistDontEnableManuallyDisabled);
|
| FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
|
| GreylistUnknownDontChange);
|
| + FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
|
| + ManagementPolicyProhibitsEnableOnInstalled);
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ExtensionService);
|
| };
|
|
|