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

Side by Side Diff: chrome/common/pref_names.cc

Issue 2973243002: Adding pref to store the user-selected proximity threshold. (Closed)
Patch Set: Fixing tests Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 // Whether Easy Unlock is enabled. 1333 // Whether Easy Unlock is enabled.
1334 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; 1334 const char kEasyUnlockEnabled[] = "easy_unlock.enabled";
1335 1335
1336 // Preference storing Easy Unlock pairing data. 1336 // Preference storing Easy Unlock pairing data.
1337 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; 1337 const char kEasyUnlockPairing[] = "easy_unlock.pairing";
1338 1338
1339 // Whether close proximity between the remote and the local device is required 1339 // Whether close proximity between the remote and the local device is required
1340 // in order to use Easy Unlock. 1340 // in order to use Easy Unlock.
1341 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; 1341 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required";
1342 1342
1343 // How close the remote and the local device should be in order to use Easy
1344 // Unlock.
1345 const char kEasyUnlockProximityThreshold[] = "easy_unlock.proximity_threshold";
1346
1343 #if BUILDFLAG(ENABLE_EXTENSIONS) 1347 #if BUILDFLAG(ENABLE_EXTENSIONS)
1344 // Used to indicate whether or not the toolbar redesign bubble has been shown 1348 // Used to indicate whether or not the toolbar redesign bubble has been shown
1345 // and acknowledged, and the last time the bubble was shown. 1349 // and acknowledged, and the last time the bubble was shown.
1346 const char kToolbarIconSurfacingBubbleAcknowledged[] = 1350 const char kToolbarIconSurfacingBubbleAcknowledged[] =
1347 "toolbar_icon_surfacing_bubble_acknowledged"; 1351 "toolbar_icon_surfacing_bubble_acknowledged";
1348 const char kToolbarIconSurfacingBubbleLastShowTime[] = 1352 const char kToolbarIconSurfacingBubbleLastShowTime[] =
1349 "toolbar_icon_surfacing_bubble_show_time"; 1353 "toolbar_icon_surfacing_bubble_show_time";
1350 #endif 1354 #endif
1351 1355
1352 #if BUILDFLAG(ENABLE_WEBRTC) 1356 #if BUILDFLAG(ENABLE_WEBRTC)
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2559 // internal format (int64) in local store. (I.e., this is not a per-profile 2563 // internal format (int64) in local store. (I.e., this is not a per-profile
2560 // pref.) 2564 // pref.)
2561 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; 2565 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time";
2562 #endif 2566 #endif
2563 2567
2564 #if BUILDFLAG(ENABLE_OFFLINE_PAGES) 2568 #if BUILDFLAG(ENABLE_OFFLINE_PAGES)
2565 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff"; 2569 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff";
2566 #endif 2570 #endif
2567 2571
2568 } // namespace prefs 2572 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698