OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSING_DATA_TYPES_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_BROWSING_DATA_TYPES_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 #include "content/common/content_export.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 struct CONTENT_EXPORT BrowsingDataType { |
| 15 public: |
| 16 // A human-readable |name| of this datatype. |
| 17 const char* name; |
| 18 |
| 19 // Determines if this datatype can be used with |
| 20 // BrowsingDataRemover::RemoveWithFilter() |
| 21 bool filterable; |
| 22 }; |
| 23 |
| 24 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeAppCache; |
| 25 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeFileSystems; |
| 26 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeIndexedDB; |
| 27 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeLocalStorage; |
| 28 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeWebSQL; |
| 29 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeServiceWorkers; |
| 30 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeCacheStorage; |
| 31 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeStorage; |
| 32 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeCookies; |
| 33 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeChannelIDs; |
| 34 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeCache; |
| 35 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeDownloads; |
| 36 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeMediaLicenses; |
| 37 CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeNoChecks; |
| 38 |
| 39 } // namespace content |
| 40 |
| 41 #endif // CONTENT_PUBLIC_BROWSER_BROWSING_DATA_TYPES_H_ |
OLD | NEW |