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

Unified Diff: components/proximity_auth/switches.cc

Issue 696583002: [Smart Lock] Add a setting to require close proximity in order for unlocking to work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git-add files Created 6 years, 1 month 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/proximity_auth/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/switches.cc
diff --git a/components/proximity_auth/switches.cc b/components/proximity_auth/switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a284f9ac18a23a2b5c58493cbec1859ae5dd6393
--- /dev/null
+++ b/components/proximity_auth/switches.cc
@@ -0,0 +1,18 @@
+// 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.
+
+#include "components/proximity_auth/switches.h"
+
+namespace proximity_auth {
+namespace switches {
+
+// Enables close proximity detection. This allows the user to set a setting to
+// require very close proximity between the remote device and the local device
+// in order to unlock the local device, which trades off convenience for
+// secuirty.
Tim Song 2014/11/04 20:40:23 nit: security
Ilya Sherman 2014/11/04 20:56:46 Done.
+const char kEnableProximityDetection[] =
+ "enable-proximity-auth-proximity-detection";
+
+} // namespace switches
+} // namespace proximity_auth
« no previous file with comments | « components/proximity_auth/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698