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

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: Sync after http://crrev.com/1033013003 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 eaa2f0cf5957855084acb86e79109a6da8e44718..a15d7dde8646accf3cd1e2f302c247326f7c8d5f 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