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

Unified Diff: storage/common/quota/quota_status_code.h

Issue 1101053002: Apply automatic range checks to content enum types across IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incoporated review comments Created 5 years, 8 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
« no previous file with comments | « content/common/quota_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/quota/quota_status_code.h
diff --git a/storage/common/quota/quota_status_code.h b/storage/common/quota/quota_status_code.h
index 00da2350daf30c821c0dc1e02db31849a39ae55f..cfdee2999b6444a9f2cbe4711eae624ef6eaede0 100644
--- a/storage/common/quota/quota_status_code.h
+++ b/storage/common/quota/quota_status_code.h
@@ -18,6 +18,8 @@ enum QuotaStatusCode {
kQuotaErrorInvalidAccess = blink::WebStorageQuotaErrorInvalidAccess,
kQuotaErrorAbort = blink::WebStorageQuotaErrorAbort,
kQuotaStatusUnknown = -1,
+
+ kQuotaStatusLast = kQuotaErrorAbort,
};
STORAGE_COMMON_EXPORT const char* QuotaStatusCodeToString(
« no previous file with comments | « content/common/quota_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698