| Index: chrome/browser/extensions/system/system_api.h
|
| diff --git a/chrome/browser/extensions/system/system_api.h b/chrome/browser/extensions/system/system_api.h
|
| index 24fdfb2a737742c88b48851e07e236c8e9303403..5e26978d8aa8107d4d47752836e0c5b29a1b0560 100644
|
| --- a/chrome/browser/extensions/system/system_api.h
|
| +++ b/chrome/browser/extensions/system/system_api.h
|
| @@ -14,17 +14,25 @@ namespace extensions {
|
|
|
| class GetIncognitoModeAvailabilityFunction : public SyncExtensionFunction {
|
| public:
|
| + DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getIncognitoModeAvailability")
|
| +
|
| + protected:
|
| virtual ~GetIncognitoModeAvailabilityFunction() {}
|
| +
|
| + // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| - DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getIncognitoModeAvailability")
|
| };
|
|
|
| // API function which returns the status of system update.
|
| class GetUpdateStatusFunction : public SyncExtensionFunction {
|
| public:
|
| + DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getUpdateStatus")
|
| +
|
| + protected:
|
| virtual ~GetUpdateStatusFunction() {}
|
| +
|
| + // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| - DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getUpdateStatus")
|
| };
|
|
|
| void DispatchBrightnessChangedEvent(int brightness, bool user_initiated);
|
|
|