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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« 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