aboutsummaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorRyo Hashimoto <hashimoto@chromium.org>2013-11-29 17:30:23 +0900
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-12-05 05:28:57 +0000
commitcfa23a554dcb262bfac10f9f5ac624d26c8c4e38 (patch)
tree902ffa12eb834f4c5da5c0b5fe9faf77bfeece5f /constants
parent605e3d8027a2dd9023beb6bd73deadc2ba5e2532 (diff)
downloadsystem_api-cfa23a554dcb262bfac10f9f5ac624d26c8c4e38.tar.gz
Add constants/cryptohome.h
Chrome needs to use cryptohome::kMinFreeSpaceInBytes. BUG=chromium:319410 TEST=build Change-Id: I5ed6e9b36e0d39a54239ef1eae8e70b4b6a0f597 Reviewed-on: https://chromium-review.googlesource.com/178404 Reviewed-by: Denis Kuznetsov <antrim@chromium.org> Reviewed-by: Daniel Erat <derat@chromium.org> Commit-Queue: Ryo Hashimoto <hashimoto@chromium.org> Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Diffstat (limited to 'constants')
-rw-r--r--constants/cryptohome.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/constants/cryptohome.h b/constants/cryptohome.h
new file mode 100644
index 0000000..7c5c512
--- /dev/null
+++ b/constants/cryptohome.h
@@ -0,0 +1,15 @@
+// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONSTANTS_CRYPTOHOME_H_
+#define CONSTANTS_CRYPTOHOME_H_
+
+namespace cryptohome {
+
+// Cleanup is trigerred if the amount of free disk space goes below this value.
+const int64 kMinFreeSpaceInBytes = 512 * 1LL << 20;
+
+} // namespace cryptohome
+
+#endif // CONSTANTS_CRYPTOHOME_H_