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..02a4ff88c1015bc2fa01ffd7ea8e24758b2300b4 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 AsyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("experimental.systemInfo.storage.addWatch", |
+ EXPERIMENTAL_SYSTEMINFO_STORAGE_ADDWATCH); |
+ SystemInfoStorageAddWatchFunction(); |
+ |
+ private: |
+ virtual ~SystemInfoStorageAddWatchFunction(); |
+ 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 SystemInfoStorageGetAllWatchFunction : public SyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("experimental.systemInfo.storage.getAllWatch", |
+ EXPERIMENTAL_SYSTEMINFO_STORAGE_GETALLWATCH); |
+ SystemInfoStorageGetAllWatchFunction(); |
+ |
+ private: |
+ virtual ~SystemInfoStorageGetAllWatchFunction(); |
+ 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_ |