| Index: chrome/browser/extensions/extension_clear_api.h
|
| diff --git a/chrome/browser/extensions/extension_clear_api.h b/chrome/browser/extensions/extension_clear_api.h
|
| index 46c89cb996848378e616857fc5dd86c3a442cbcd..b5c77324960d609f847e1f058cac868468b83f7f 100644
|
| --- a/chrome/browser/extensions/extension_clear_api.h
|
| +++ b/chrome/browser/extensions/extension_clear_api.h
|
| @@ -42,6 +42,18 @@ class BrowsingDataExtensionFunction : public AsyncExtensionFunction,
|
| virtual int GetRemovalMask() const = 0;
|
| };
|
|
|
| +class ClearAppCacheFunction : public BrowsingDataExtensionFunction {
|
| + public:
|
| + ClearAppCacheFunction() {}
|
| + virtual ~ClearAppCacheFunction() {}
|
| +
|
| + protected:
|
| + // BrowsingDataTypeExtensionFunction interface method.
|
| + virtual int GetRemovalMask() const OVERRIDE;
|
| +
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.appcache")
|
| +};
|
| +
|
| class ClearBrowsingDataFunction : public BrowsingDataExtensionFunction {
|
| public:
|
| ClearBrowsingDataFunction() {}
|
| @@ -90,6 +102,18 @@ class ClearDownloadsFunction : public BrowsingDataExtensionFunction {
|
| DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.downloads")
|
| };
|
|
|
| +class ClearFileSystemsFunction : public BrowsingDataExtensionFunction {
|
| + public:
|
| + ClearFileSystemsFunction() {}
|
| + virtual ~ClearFileSystemsFunction() {}
|
| +
|
| + protected:
|
| + // BrowsingDataTypeExtensionFunction interface method.
|
| + virtual int GetRemovalMask() const OVERRIDE;
|
| +
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.fileSystems")
|
| +};
|
| +
|
| class ClearFormDataFunction : public BrowsingDataExtensionFunction {
|
| public:
|
| ClearFormDataFunction() {}
|
| @@ -114,6 +138,42 @@ class ClearHistoryFunction : public BrowsingDataExtensionFunction {
|
| DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.history")
|
| };
|
|
|
| +class ClearIndexedDBFunction : public BrowsingDataExtensionFunction {
|
| + public:
|
| + ClearIndexedDBFunction() {}
|
| + virtual ~ClearIndexedDBFunction() {}
|
| +
|
| + protected:
|
| + // BrowsingDataTypeExtensionFunction interface method.
|
| + virtual int GetRemovalMask() const OVERRIDE;
|
| +
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.indexedDB")
|
| +};
|
| +
|
| +class ClearLocalStorageFunction : public BrowsingDataExtensionFunction {
|
| + public:
|
| + ClearLocalStorageFunction() {}
|
| + virtual ~ClearLocalStorageFunction() {}
|
| +
|
| + protected:
|
| + // BrowsingDataTypeExtensionFunction interface method.
|
| + virtual int GetRemovalMask() const OVERRIDE;
|
| +
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.localStorage")
|
| +};
|
| +
|
| +class ClearLSODataFunction : public BrowsingDataExtensionFunction {
|
| + public:
|
| + ClearLSODataFunction() {}
|
| + virtual ~ClearLSODataFunction() {}
|
| +
|
| + protected:
|
| + // BrowsingDataTypeExtensionFunction interface method.
|
| + virtual int GetRemovalMask() const OVERRIDE;
|
| +
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.lsoData")
|
| +};
|
| +
|
| class ClearPasswordsFunction : public BrowsingDataExtensionFunction {
|
| public:
|
| ClearPasswordsFunction() {}
|
| @@ -126,4 +186,15 @@ class ClearPasswordsFunction : public BrowsingDataExtensionFunction {
|
| DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.passwords")
|
| };
|
|
|
| +class ClearWebSQLFunction : public BrowsingDataExtensionFunction {
|
| + public:
|
| + ClearWebSQLFunction() {}
|
| + virtual ~ClearWebSQLFunction() {}
|
| +
|
| + protected:
|
| + // BrowsingDataTypeExtensionFunction interface method.
|
| + virtual int GetRemovalMask() const OVERRIDE;
|
| +
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.webSQL")
|
| +};
|
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_
|
|
|