summaryrefslogtreecommitdiffstats
path: root/storage/common
diff options
context:
space:
mode:
authoranujk.sharma <anujk.sharma@samsung.com>2014-09-25 22:04:30 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-26 05:04:46 +0000
commit23ba66181008a9d9b40c7df97cc2497b7a82ac6f (patch)
treec881dc10301ebba6aaf1cd53669fcf769f7b8400 /storage/common
parentc350c3cd2a6ae2fb9f9bca512f596fb8ef7ab79b (diff)
downloadchromium_src-23ba66181008a9d9b40c7df97cc2497b7a82ac6f.zip
chromium_src-23ba66181008a9d9b40c7df97cc2497b7a82ac6f.tar.gz
chromium_src-23ba66181008a9d9b40c7df97cc2497b7a82ac6f.tar.bz2
Apply automatic range checks to storage enum types across IPC.
This is part of a long-running background task to remove the remaining uses of the unchecked IPC_ENUM_TRAITS() macro. BUG=246708 Review URL: https://codereview.chromium.org/603673003 Cr-Commit-Position: refs/heads/master@{#296887}
Diffstat (limited to 'storage/common')
-rw-r--r--storage/common/quota/quota_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/common/quota/quota_types.h b/storage/common/quota/quota_types.h
index c8087e6..381d847 100644
--- a/storage/common/quota/quota_types.h
+++ b/storage/common/quota/quota_types.h
@@ -22,6 +22,7 @@ enum QuotaLimitType {
kQuotaLimitTypeUnknown,
kQuotaLimitTypeLimited,
kQuotaLimitTypeUnlimited,
+ kQuotaLimitTypeLast = kQuotaLimitTypeUnlimited
};
} // namespace storage