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

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

Issue 330193005: [Hotword] Uninstall and reinstall the extension upon language change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unittest compile errors Created 6 years, 6 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 const char kVideoCaptureAllowedUrls[] = "hardware.video_capture_allowed_urls"; 1848 const char kVideoCaptureAllowedUrls[] = "hardware.video_capture_allowed_urls";
1849 1849
1850 // A boolean pref that controls the enabled-state of hotword search voice 1850 // A boolean pref that controls the enabled-state of hotword search voice
1851 // trigger. 1851 // trigger.
1852 const char kHotwordSearchEnabled[] = "hotword.search_enabled_2"; 1852 const char kHotwordSearchEnabled[] = "hotword.search_enabled_2";
1853 1853
1854 // A boolean pref that controls whether the sound of "Ok, Google" plus a few 1854 // A boolean pref that controls whether the sound of "Ok, Google" plus a few
1855 // seconds of audio data before is sent back to improve voice search. 1855 // seconds of audio data before is sent back to improve voice search.
1856 const char kHotwordAudioLoggingEnabled[] = "hotword.audio_logging_enabled"; 1856 const char kHotwordAudioLoggingEnabled[] = "hotword.audio_logging_enabled";
1857 1857
1858 // A string holding the locale information under which Hotword was installed.
1859 // It is used for comparison since the hotword voice search trigger must be
1860 // reinstalled to handle a new language.
1861 const char kHotwordPreviousLanguage[] = "hotword.previous_language";
1862
1858 #if defined(OS_ANDROID) 1863 #if defined(OS_ANDROID)
1859 // Boolean that controls the global enabled-state of protected media identifier. 1864 // Boolean that controls the global enabled-state of protected media identifier.
1860 const char kProtectedMediaIdentifierEnabled[] = 1865 const char kProtectedMediaIdentifierEnabled[] =
1861 "protected_media_identifier.enabled"; 1866 "protected_media_identifier.enabled";
1862 #endif 1867 #endif
1863 1868
1864 #if defined(OS_CHROMEOS) 1869 #if defined(OS_CHROMEOS)
1865 // Dictionary for transient storage of settings that should go into device 1870 // Dictionary for transient storage of settings that should go into device
1866 // settings storage before owner has been assigned. 1871 // settings storage before owner has been assigned.
1867 const char kDeviceSettingsCache[] = "signed_settings_cache"; 1872 const char kDeviceSettingsCache[] = "signed_settings_cache";
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
2381 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2386 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2382 // given by the PartnerBookmarksProvider and either the user-visible renamed 2387 // given by the PartnerBookmarksProvider and either the user-visible renamed
2383 // title or an empty string if the bookmark node was removed. 2388 // title or an empty string if the bookmark node was removed.
2384 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2389 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2385 #endif 2390 #endif
2386 2391
2387 // Whether DNS Quick Check is disabled in proxy resolution. 2392 // Whether DNS Quick Check is disabled in proxy resolution.
2388 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2393 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2389 2394
2390 } // namespace prefs 2395 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698