Chromium Code Reviews| Index: chrome/browser/extensions/api/system_info_storage/system_info_storage_api.h |
| diff --git a/chrome/browser/extensions/api/system_info_storage/system_info_storage_api.h b/chrome/browser/extensions/api/system_info_storage/system_info_storage_api.h |
| index 7a9b8942ff2cb11288ebf07ce238c05715785070..77e1b4bd67d74c289bf8e92bbd2dffffcc98d7ce 100644 |
| --- a/chrome/browser/extensions/api/system_info_storage/system_info_storage_api.h |
| +++ b/chrome/browser/extensions/api/system_info_storage/system_info_storage_api.h |
| @@ -24,6 +24,50 @@ class SystemInfoStorageGetFunction : public AsyncExtensionFunction { |
| void OnGetStorageInfoCompleted(const StorageInfo& info, bool success); |
| }; |
| +class SystemInfoStorageAddWatchFunction : public SyncExtensionFunction { |
|
Lei Zhang
2013/05/23 16:04:58
If you are going to copy the mediaGalleriesPrivate
Haojian Wu
2013/05/23 16:42:47
Done.
|
| + public: |
| + DECLARE_EXTENSION_FUNCTION("experimental.systemInfo.storage.addWatch", |
| + EXPERIMENTAL_SYSTEMINFO_STORAGE_ADDWATCH); |
| + SystemInfoStorageAddWatchFunction(); |
| + |
| + private: |
| + virtual ~SystemInfoStorageAddWatchFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| +}; |
| + |
| +class SystemInfoStorageGetAllWatchFunction : public SyncExtensionFunction { |
| + public: |
| + DECLARE_EXTENSION_FUNCTION("experimental.systemInfo.storage.getAllWatch", |
| + EXPERIMENTAL_SYSTEMINFO_STORAGE_GETALLWATCH); |
| + SystemInfoStorageGetAllWatchFunction(); |
| + |
| + private: |
| + virtual ~SystemInfoStorageGetAllWatchFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| +}; |
| + |
| +class SystemInfoStorageRemoveWatchFunction : public SyncExtensionFunction { |
| + public: |
| + DECLARE_EXTENSION_FUNCTION("experimental.systemInfo.storage.removeWatch", |
| + EXPERIMENTAL_SYSTEMINFO_STORAGE_REMOVEWATCH); |
| + SystemInfoStorageRemoveWatchFunction(); |
| + |
| + private: |
| + virtual ~SystemInfoStorageRemoveWatchFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| +}; |
| + |
| +class SystemInfoStorageRemoveAllWatchFunction : public SyncExtensionFunction { |
| + public: |
| + DECLARE_EXTENSION_FUNCTION("experimental.systemInfo.storage.removeAllWatch", |
| + EXPERIMENTAL_SYSTEMINFO_STORAGE_REMOVEALLWATCH); |
| + SystemInfoStorageRemoveAllWatchFunction(); |
| + |
| + private: |
| + virtual ~SystemInfoStorageRemoveAllWatchFunction(); |
| + virtual bool RunImpl() OVERRIDE; |
| +}; |
| + |
| } // namespace extensions |
| #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_STORAGE_SYSTEM_INFO_STORAGE_API_H_ |