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

Unified Diff: components/encryptor/encryptor_switches.h

Issue 176583002: [OS X] Wire up --use-mock-keychain command line flag to encryptor module (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix license header Created 6 years, 10 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 | « components/encryptor/encryptor_mac.mm ('k') | components/encryptor/encryptor_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/encryptor/encryptor_switches.h
diff --git a/components/encryptor/encryptor_switches.h b/components/encryptor/encryptor_switches.h
new file mode 100644
index 0000000000000000000000000000000000000000..5f25e1431c507862cf1b70650426199799e295a1
--- /dev/null
+++ b/components/encryptor/encryptor_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.
+
+// Defines all the command-line switches used by the encryptor component.
+
+#ifndef COMPONENTS_ENCRYPTOR__ENCRYPTOR_SWITCHES_H_
+#define COMPONENTS_ENCRYPTOR__ENCRYPTOR_SWITCHES_H_
+
+#include "base/basictypes.h"
+
+namespace encryptor {
+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 encryptor
+
+#endif // COMPONENTS_ENCRYPTOR__ENCRYPTOR_SWITCHES_H_
« no previous file with comments | « components/encryptor/encryptor_mac.mm ('k') | components/encryptor/encryptor_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698