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

Unified Diff: extensions/browser/guest_view/web_view/web_view_constants.h

Issue 1021073002: <webview> Implement clear http cache API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error on mac/android: std::set initializer list makes them unhappy Created 5 years, 9 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
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_

Powered by Google App Engine
This is Rietveld 408576698