summaryrefslogtreecommitdiffstats
path: root/components/os_crypt/os_crypt_switches.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-18 01:34:54 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-18 01:34:54 +0000
commitc523d20e1db8fb7fc003686f336b958605e8a58f (patch)
tree6995a795f122aa0abc6d71befb21149ed9232877 /components/os_crypt/os_crypt_switches.h
parent77d2fa7ea388573238e8503ecbfa50974a5372f2 (diff)
downloadchromium_src-c523d20e1db8fb7fc003686f336b958605e8a58f.zip
chromium_src-c523d20e1db8fb7fc003686f336b958605e8a58f.tar.gz
chromium_src-c523d20e1db8fb7fc003686f336b958605e8a58f.tar.bz2
components: Rename encryptor directory to os_crypt.
Joi suggested doing this rename in a follow up CL ( https://codereview.chromium.org/183953005/diff/20001/components/encryptor/encryptor_password_mac.h#newcode16). So here it is. BUG=341293 TEST=None, no functional changes. R=joi@chromium.org,thestig@chromium.org,bcwhite@chromium.org Review URL: https://codereview.chromium.org/200713005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/os_crypt/os_crypt_switches.h')
-rw-r--r--components/os_crypt/os_crypt_switches.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/components/os_crypt/os_crypt_switches.h b/components/os_crypt/os_crypt_switches.h
new file mode 100644
index 0000000..5529446
--- /dev/null
+++ b/components/os_crypt/os_crypt_switches.h
@@ -0,0 +1,26 @@
+// Copyright 2014 The Chromium 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 COMPONENTS_OS_CRYPT_OS_CRYPT_SWITCHES_H_
+#define COMPONENTS_OS_CRYPT_OS_CRYPT_SWITCHES_H_
+
+// Defines all the command-line switches used by the encryptor component.
+
+#include "build/build_config.h"
+
+namespace os_crypt {
+namespace switches {
+
+#if defined(OS_MACOSX)
+
+// Uses mock keychain for testing purposes, which prevents blocking dialogs
+// from causing timeouts.
+extern const char kUseMockKeychain[];
+
+#endif // OS_MACOSX
+
+} // namespace switches
+} // namespace os_crypt
+
+#endif // COMPONENTS_OS_CRYPT_OS_CRYPT_SWITCHES_H_