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

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

Issue 2968073002: register voice interaction preference. (Closed)
Patch Set: address review comments 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "arc.compatible_filesystem.chosen"; 56 "arc.compatible_filesystem.chosen";
57 // A preference that indicates that user accepted Voice Interaction Value Prop. 57 // A preference that indicates that user accepted Voice Interaction Value Prop.
58 const char kArcVoiceInteractionValuePropAccepted[] = 58 const char kArcVoiceInteractionValuePropAccepted[] =
59 "arc.voice_interaction_value_prop.accepted"; 59 "arc.voice_interaction_value_prop.accepted";
60 // A preference that indicates the user has enabled voice interaction services. 60 // A preference that indicates the user has enabled voice interaction services.
61 const char kVoiceInteractionEnabled[] = "settings.voice_interaction.enabled"; 61 const char kVoiceInteractionEnabled[] = "settings.voice_interaction.enabled";
62 // A preference that indicates the user has enabled providing context to 62 // A preference that indicates the user has enabled providing context to
63 // voice interaction services. 63 // voice interaction services.
64 const char kVoiceInteractionContextEnabled[] = 64 const char kVoiceInteractionContextEnabled[] =
65 "settings.voice_interaction.context.enabled"; 65 "settings.voice_interaction.context.enabled";
66
Luis Héctor Chávez 2017/07/10 16:53:02 nit: remove blank line
Muyuan 2017/07/14 20:52:14 Done.
67 // A preference indicating whether voice interaction settings should be read
stevenjb 2017/07/10 17:57:07 s/should be/have been/ ?
Muyuan 2017/07/14 20:52:14 Done.
68 // from Arc. This synchronization only happens when user goes through the flow
Luis Héctor Chávez 2017/07/10 16:53:03 nit: s/Arc/ARC/
Muyuan 2017/07/14 20:52:14 Done.
69 // to set up voice interaction.
70 const char kVoiceInteractionPrefSynced[] =
71 "settings.voice_interaction.context.synced";
66 #endif 72 #endif
67 73
68 // A bool pref that keeps whether the child status for this profile was already 74 // A bool pref that keeps whether the child status for this profile was already
69 // successfully checked via ChildAccountService. 75 // successfully checked via ChildAccountService.
70 const char kChildAccountStatusKnown[] = "child_account_status_known"; 76 const char kChildAccountStatusKnown[] = "child_account_status_known";
71 77
72 // A string property indicating whether default apps should be installed 78 // A string property indicating whether default apps should be installed
73 // in this profile. Use the value "install" to enable defaults apps, or 79 // in this profile. Use the value "install" to enable defaults apps, or
74 // "noinstall" to disable them. This property is usually set in the 80 // "noinstall" to disable them. This property is usually set in the
75 // master_preferences and copied into the profile preferences on first run. 81 // master_preferences and copied into the profile preferences on first run.
(...skipping 2519 matching lines...) Expand 10 before | Expand all | Expand 10 after
2595 // Accumulated counters of days with specified Chrome usage. When there is 2601 // Accumulated counters of days with specified Chrome usage. When there is
2596 // likely a network connection, these counters are reported via UMA and reset. 2602 // likely a network connection, these counters are reported via UMA and reset.
2597 const char kOfflineUsageUnusedCount[] = "offline_pages.unused_count"; 2603 const char kOfflineUsageUnusedCount[] = "offline_pages.unused_count";
2598 const char kOfflineUsageStartedCount[] = "offline_pages.started_count"; 2604 const char kOfflineUsageStartedCount[] = "offline_pages.started_count";
2599 const char kOfflineUsageOfflineCount[] = "offline_pages.offline_count"; 2605 const char kOfflineUsageOfflineCount[] = "offline_pages.offline_count";
2600 const char kOfflineUsageOnlineCount[] = "offline_pages.online_count"; 2606 const char kOfflineUsageOnlineCount[] = "offline_pages.online_count";
2601 const char kOfflineUsageMixedCount[] = "offline_pages.mixed_count"; 2607 const char kOfflineUsageMixedCount[] = "offline_pages.mixed_count";
2602 #endif 2608 #endif
2603 2609
2604 } // namespace prefs 2610 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698