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

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

Issue 158143002: Fine tuned availability of hotword plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup 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 unified diff | Download patch | Annotate | Revision Log
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/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 2087 matching lines...) Expand 10 before | Expand all | Expand 10 after
2098 // A boolean pref that controls the enabled-state of hotword search voice 2098 // A boolean pref that controls the enabled-state of hotword search voice
2099 // trigger. 2099 // trigger.
2100 const char kHotwordSearchEnabled[] = "hotword.search_enabled"; 2100 const char kHotwordSearchEnabled[] = "hotword.search_enabled";
2101 2101
2102 // An integer pref that keeps track of how many times the opt in popup for 2102 // An integer pref that keeps track of how many times the opt in popup for
2103 // hotword void search has been shown to the user. After this pref has reached 2103 // hotword void search has been shown to the user. After this pref has reached
2104 // the maximum number of times as defined by the HotwordService, the popup is no 2104 // the maximum number of times as defined by the HotwordService, the popup is no
2105 // longer shown. 2105 // longer shown.
2106 const char kHotwordOptInPopupTimesShown[] = "hotword.opt_in_popup_times_shown"; 2106 const char kHotwordOptInPopupTimesShown[] = "hotword.opt_in_popup_times_shown";
2107 2107
2108 #if defined(OS_CHROMEOS)
2109 // A boolean pref that controls the enabled-state of hotword search in the
2110 // app-list. This pref cooperates with kHotwordSearchEnabled. If the user
2111 // explicitly turns off kHotwordSearchEnabled, this pref should go off too.
2112 const char kHotwordAppListEnabled[] = "hotword.app_list_enabled";
2113 #endif
2114
2108 #if defined(OS_ANDROID) 2115 #if defined(OS_ANDROID)
2109 // Boolean that controls the global enabled-state of protected media identifier. 2116 // Boolean that controls the global enabled-state of protected media identifier.
2110 const char kProtectedMediaIdentifierEnabled[] = 2117 const char kProtectedMediaIdentifierEnabled[] =
2111 "protected_media_identifier.enabled"; 2118 "protected_media_identifier.enabled";
2112 #endif 2119 #endif
2113 2120
2114 #if defined(OS_CHROMEOS) 2121 #if defined(OS_CHROMEOS)
2115 // Dictionary for transient storage of settings that should go into device 2122 // Dictionary for transient storage of settings that should go into device
2116 // settings storage before owner has been assigned. 2123 // settings storage before owner has been assigned.
2117 const char kDeviceSettingsCache[] = "signed_settings_cache"; 2124 const char kDeviceSettingsCache[] = "signed_settings_cache";
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
2635 2642
2636 // The number of seconds since epoch that the OS password was last changed. 2643 // The number of seconds since epoch that the OS password was last changed.
2637 const char kOsPasswordLastChanged[] = 2644 const char kOsPasswordLastChanged[] =
2638 "password_manager.os_password_last_changed"; 2645 "password_manager.os_password_last_changed";
2639 #endif 2646 #endif
2640 2647
2641 // Whether DNS Quick Check is disabled in proxy resolution. 2648 // Whether DNS Quick Check is disabled in proxy resolution.
2642 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2649 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2643 2650
2644 } // namespace prefs 2651 } // namespace prefs
OLDNEW
« chrome/browser/search/hotword_service.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698