Index: extensions/browser/guest_view/web_view/web_view_constants.h |
diff --git a/extensions/browser/guest_view/web_view/web_view_constants.h b/extensions/browser/guest_view/web_view/web_view_constants.h |
index 8572399c079b5a9fe1aebda93ddfd0521d213206..3d727223b9fceb7d7dc95c0bc404114b42d113a7 100644 |
--- a/extensions/browser/guest_view/web_view/web_view_constants.h |
+++ b/extensions/browser/guest_view/web_view/web_view_constants.h |
@@ -7,6 +7,8 @@ |
#ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
#define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
+#include "base/basictypes.h" |
+ |
namespace webview { |
// Attributes. |
@@ -122,6 +124,18 @@ extern const char kStoragePartitionId[]; |
extern const unsigned int kMaxOutstandingPermissionRequests; |
extern const int kInvalidPermissionRequestID; |
+// ClearData API constants. |
+// |
+// Note that these are not in an enum because using enums to declare bitmasks |
+// results in the enum values being signed. |
+extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_APPCACHE; |
+extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_CACHE; |
+extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_COOKIES; |
+extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_FILE_SYSTEMS; |
+extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB; |
+extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_LOCAL_STORAGE; |
+extern const uint32 WEB_VIEW_REMOVE_DATA_MASK_WEBSQL; |
+ |
} // namespace webview |
#endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |