| Index: chrome/browser/extensions/extension_idle_api.h
|
| diff --git a/chrome/browser/extensions/extension_idle_api.h b/chrome/browser/extensions/extension_idle_api.h
|
| index f34afc640ecc29b52220d9f38e08a0153fd02712..40f84789dcffbd066da521cc466729b4f7fd2b5a 100644
|
| --- a/chrome/browser/extensions/extension_idle_api.h
|
| +++ b/chrome/browser/extensions/extension_idle_api.h
|
| @@ -23,9 +23,14 @@ class ExtensionIdleEventRouter {
|
| // Implementation of the chrome.idle.queryState API.
|
| class ExtensionIdleQueryStateFunction : public AsyncExtensionFunction {
|
| public:
|
| - virtual bool RunImpl() OVERRIDE;
|
| DECLARE_EXTENSION_FUNCTION_NAME("idle.queryState")
|
|
|
| + protected:
|
| + virtual ~ExtensionIdleQueryStateFunction() {}
|
| +
|
| + // ExtensionFunction:
|
| + virtual bool RunImpl() OVERRIDE;
|
| +
|
| private:
|
| void IdleStateCallback(int threshold, IdleState state);
|
| };
|
| @@ -75,4 +80,5 @@ class ExtensionIdleCache {
|
|
|
| static CacheData cached_data;
|
| };
|
| +
|
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_H_
|
|
|