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

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

Issue 2849823003: ChromeOS: implement per-user time zone preferences. (Closed)
Patch Set: Try remove g_browser_process check Created 3 years, 7 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 525
526 // A integer pref for the touchpad sensitivity. 526 // A integer pref for the touchpad sensitivity.
527 const char kMouseSensitivity[] = "settings.mouse.sensitivity2"; 527 const char kMouseSensitivity[] = "settings.mouse.sensitivity2";
528 528
529 // A integer pref for the touchpad sensitivity. 529 // A integer pref for the touchpad sensitivity.
530 const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2"; 530 const char kTouchpadSensitivity[] = "settings.touchpad.sensitivity2";
531 531
532 // A boolean pref set to true if time should be displayed in 24-hour clock. 532 // A boolean pref set to true if time should be displayed in 24-hour clock.
533 const char kUse24HourClock[] = "settings.clock.use_24hour_clock"; 533 const char kUse24HourClock[] = "settings.clock.use_24hour_clock";
534 534
535 // A string pref containing Timezone ID for this user.
536 const char kUserTimezone[] = "settings.timezone";
537
535 // This setting disables manual timezone selection and starts periodic timezone 538 // This setting disables manual timezone selection and starts periodic timezone
536 // refresh. 539 // refresh.
537 const char kResolveTimezoneByGeolocation[] = 540 const char kResolveTimezoneByGeolocation[] =
538 "settings.resolve_timezone_by_geolocation"; 541 "settings.resolve_timezone_by_geolocation";
539 542
540 // A string pref set to the current input method. 543 // A string pref set to the current input method.
541 const char kLanguageCurrentInputMethod[] = 544 const char kLanguageCurrentInputMethod[] =
542 "settings.language.current_input_method"; 545 "settings.language.current_input_method";
543 546
544 // A string pref set to the previous input method. 547 // A string pref set to the previous input method.
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1991 // Defaults to false. 1994 // Defaults to false.
1992 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout"; 1995 const char kTabStripStackedLayout[] = "tab-strip-stacked-layout";
1993 1996
1994 // Indicates that factory reset was requested from options page or reset screen. 1997 // Indicates that factory reset was requested from options page or reset screen.
1995 const char kFactoryResetRequested[] = "FactoryResetRequested"; 1998 const char kFactoryResetRequested[] = "FactoryResetRequested";
1996 1999
1997 // Indicates that debugging features were requested from oobe screen. 2000 // Indicates that debugging features were requested from oobe screen.
1998 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested"; 2001 const char kDebuggingFeaturesRequested[] = "DebuggingFeaturesRequested";
1999 2002
2000 #if defined(OS_CHROMEOS) 2003 #if defined(OS_CHROMEOS)
2004 // This setting controlls initial device timezone that is used before user
2005 // session started. It is controlled by device owner.
2006 const char kSigninScreenTimezone[] = "settings.signin_screen_timezone";
2007
2001 // This setting starts periodic timezone refresh when not in user session. 2008 // This setting starts periodic timezone refresh when not in user session.
2002 // (user session is controlled by user profile preference 2009 // (user session is controlled by user profile preference
2003 // kResolveTimezoneByGeolocation 2010 // kResolveTimezoneByGeolocation
2004 const char kResolveDeviceTimezoneByGeolocation[] = 2011 const char kResolveDeviceTimezoneByGeolocation[] =
2005 "settings.resolve_device_timezone_by_geolocation"; 2012 "settings.resolve_device_timezone_by_geolocation";
2006 2013
2007 // This is policy-controlled preference. 2014 // This is policy-controlled preference.
2008 // It has values defined in policy enum 2015 // It has values defined in policy enum
2009 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; 2016 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType;
2010 const char kSystemTimezoneAutomaticDetectionPolicy[] = 2017 const char kSystemTimezoneAutomaticDetectionPolicy[] =
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
2538 "settings_reset_prompt.last_triggered_for_homepage"; 2545 "settings_reset_prompt.last_triggered_for_homepage";
2539 2546
2540 #if defined(OS_ANDROID) 2547 #if defined(OS_ANDROID)
2541 // Timestamp of the clipboard's last modified time, stored in base::Time's 2548 // Timestamp of the clipboard's last modified time, stored in base::Time's
2542 // internal format (int64) in local store. (I.e., this is not a per-profile 2549 // internal format (int64) in local store. (I.e., this is not a per-profile
2543 // pref.) 2550 // pref.)
2544 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; 2551 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time";
2545 #endif 2552 #endif
2546 2553
2547 } // namespace prefs 2554 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698