Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: content/public/browser/browsing_data_types.h

Issue 2697123004: Convert RemoveDataMask from enum to pointers and split it between content and embedder (Closed)
Patch Set: Android compilation Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698