| Index: content/public/browser/browsing_data_types.h
|
| diff --git a/content/public/browser/browsing_data_types.h b/content/public/browser/browsing_data_types.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4f60beef6a696c822b09d7249986313d851f29a5
|
| --- /dev/null
|
| +++ b/content/public/browser/browsing_data_types.h
|
| @@ -0,0 +1,41 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_PUBLIC_BROWSER_BROWSING_DATA_TYPES_H_
|
| +#define CONTENT_PUBLIC_BROWSER_BROWSING_DATA_TYPES_H_
|
| +
|
| +#include <memory>
|
| +
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +struct CONTENT_EXPORT BrowsingDataType {
|
| + public:
|
| + // A human-readable |name| of this datatype.
|
| + const char* name;
|
| +
|
| + // Determines if this datatype can be used with
|
| + // BrowsingDataRemover::RemoveWithFilter()
|
| + bool filterable;
|
| +};
|
| +
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeAppCache;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeFileSystems;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeIndexedDB;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeLocalStorage;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeWebSQL;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeServiceWorkers;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeCacheStorage;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeStorage;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeCookies;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeChannelIDs;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeCache;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeDownloads;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeMediaLicenses;
|
| +CONTENT_EXPORT extern const BrowsingDataType kBrowsingDataTypeNoChecks;
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_BROWSING_DATA_TYPES_H_
|
|
|