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

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

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.cc
diff --git a/extensions/browser/guest_view/web_view/web_view_constants.cc b/extensions/browser/guest_view/web_view/web_view_constants.cc
index f156db62f02ff1e23dec81171242b6e1585eba04..78f9869dd7ad28825c32d9e26d7bb2d70bad9564 100644
--- a/extensions/browser/guest_view/web_view/web_view_constants.cc
+++ b/extensions/browser/guest_view/web_view/web_view_constants.cc
@@ -117,4 +117,13 @@ const char kStoragePartitionId[] = "partition";
const unsigned int kMaxOutstandingPermissionRequests = 1024;
const int kInvalidPermissionRequestID = 0;
+// ClearData API constants.
+const uint32 WEB_VIEW_REMOVE_DATA_MASK_APPCACHE = 1 << 0;
+const uint32 WEB_VIEW_REMOVE_DATA_MASK_CACHE = 1 << 1;
+const uint32 WEB_VIEW_REMOVE_DATA_MASK_COOKIES = 1 << 2;
+const uint32 WEB_VIEW_REMOVE_DATA_MASK_FILE_SYSTEMS = 1 << 3;
+const uint32 WEB_VIEW_REMOVE_DATA_MASK_INDEXEDDB = 1 << 4;
+const uint32 WEB_VIEW_REMOVE_DATA_MASK_LOCAL_STORAGE = 1 << 5;
+const uint32 WEB_VIEW_REMOVE_DATA_MASK_WEBSQL = 1 << 6;
+
} // namespace webview
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_constants.h ('k') | extensions/browser/guest_view/web_view/web_view_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698