| 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 b80f5d354db50d9d9a77a2b2a6c84b3f18beb600..a999f63decfc9dfc37607bb045faa13f3609b4c1 100644
|
| --- a/chrome/browser/extensions/system/system_api.h
|
| +++ b/chrome/browser/extensions/system/system_api.h
|
| @@ -8,23 +8,25 @@
|
| #ifndef CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
|
| #define CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
|
|
|
| -#include "chrome/browser/extensions/extension_preference_api.h"
|
| -
|
| -#include <string>
|
| -
|
| -namespace base {
|
| -class Value;
|
| -}
|
| +#include "chrome/browser/extensions/extension_function.h"
|
|
|
| namespace extensions {
|
|
|
| class GetIncognitoModeAvailabilityFunction : public SyncExtensionFunction {
|
| public:
|
| - virtual ~GetIncognitoModeAvailabilityFunction();
|
| + virtual ~GetIncognitoModeAvailabilityFunction() {}
|
| virtual bool RunImpl() OVERRIDE;
|
| DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getIncognitoModeAvailability")
|
| };
|
|
|
| +// API function which returns the status of system update.
|
| +class GetUpdateStatusFunction : public SyncExtensionFunction {
|
| + public:
|
| + virtual ~GetUpdateStatusFunction() {}
|
| + virtual bool RunImpl() OVERRIDE;
|
| + DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getUpdateStatus")
|
| +};
|
| +
|
| } // namespace extensions
|
|
|
| #endif // CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
|
|
|