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

Side by Side Diff: content/public/browser/storage_partition.h

Issue 1979733002: Add ability to clear content licenses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: seperate file Created 4 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 REMOVE_DATA_MASK_APPCACHE = 1 << 0, 81 REMOVE_DATA_MASK_APPCACHE = 1 << 0,
82 REMOVE_DATA_MASK_COOKIES = 1 << 1, 82 REMOVE_DATA_MASK_COOKIES = 1 << 1,
83 REMOVE_DATA_MASK_FILE_SYSTEMS = 1 << 2, 83 REMOVE_DATA_MASK_FILE_SYSTEMS = 1 << 2,
84 REMOVE_DATA_MASK_INDEXEDDB = 1 << 3, 84 REMOVE_DATA_MASK_INDEXEDDB = 1 << 3,
85 REMOVE_DATA_MASK_LOCAL_STORAGE = 1 << 4, 85 REMOVE_DATA_MASK_LOCAL_STORAGE = 1 << 4,
86 REMOVE_DATA_MASK_SHADER_CACHE = 1 << 5, 86 REMOVE_DATA_MASK_SHADER_CACHE = 1 << 5,
87 REMOVE_DATA_MASK_WEBSQL = 1 << 6, 87 REMOVE_DATA_MASK_WEBSQL = 1 << 6,
88 REMOVE_DATA_MASK_WEBRTC_IDENTITY = 1 << 7, 88 REMOVE_DATA_MASK_WEBRTC_IDENTITY = 1 << 7,
89 REMOVE_DATA_MASK_SERVICE_WORKERS = 1 << 8, 89 REMOVE_DATA_MASK_SERVICE_WORKERS = 1 << 8,
90 REMOVE_DATA_MASK_CACHE_STORAGE = 1 << 9, 90 REMOVE_DATA_MASK_CACHE_STORAGE = 1 << 9,
91 REMOVE_DATA_MASK_PLUGIN_PRIVATE_DATA = 1 << 10,
91 REMOVE_DATA_MASK_ALL = 0xFFFFFFFF, 92 REMOVE_DATA_MASK_ALL = 0xFFFFFFFF,
92 93
93 // Corresponds to storage::kStorageTypeTemporary. 94 // Corresponds to storage::kStorageTypeTemporary.
94 QUOTA_MANAGED_STORAGE_MASK_TEMPORARY = 1 << 0, 95 QUOTA_MANAGED_STORAGE_MASK_TEMPORARY = 1 << 0,
95 // Corresponds to storage::kStorageTypePersistent. 96 // Corresponds to storage::kStorageTypePersistent.
96 QUOTA_MANAGED_STORAGE_MASK_PERSISTENT = 1 << 1, 97 QUOTA_MANAGED_STORAGE_MASK_PERSISTENT = 1 << 1,
97 // Corresponds to storage::kStorageTypeSyncable. 98 // Corresponds to storage::kStorageTypeSyncable.
98 QUOTA_MANAGED_STORAGE_MASK_SYNCABLE = 1 << 2, 99 QUOTA_MANAGED_STORAGE_MASK_SYNCABLE = 1 << 2,
99 QUOTA_MANAGED_STORAGE_MASK_ALL = 0xFFFFFFFF, 100 QUOTA_MANAGED_STORAGE_MASK_ALL = 0xFFFFFFFF,
100 }; 101 };
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // unwritten data has been written out to the filesystem. 169 // unwritten data has been written out to the filesystem.
169 virtual void Flush() = 0; 170 virtual void Flush() = 0;
170 171
171 protected: 172 protected:
172 virtual ~StoragePartition() {} 173 virtual ~StoragePartition() {}
173 }; 174 };
174 175
175 } // namespace content 176 } // namespace content
176 177
177 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 178 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698