| OLD | NEW |
| 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/browser/chromeos/settings/system_settings_provider.h" | 5 #include "chrome/browser/chromeos/settings/system_settings_provider.h" |
| 6 | 6 |
| 7 #include "base/string16.h" | 7 #include "base/strings/string16.h" |
| 8 #include "base/time.h" | 8 #include "base/time.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/chromeos/login/user_manager.h" | 10 #include "chrome/browser/chromeos/login/user_manager.h" |
| 11 #include "chrome/browser/chromeos/settings/cros_settings.h" | 11 #include "chrome/browser/chromeos/settings/cros_settings.h" |
| 12 #include "chrome/browser/chromeos/settings/cros_settings_names.h" | 12 #include "chrome/browser/chromeos/settings/cros_settings_names.h" |
| 13 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
| 14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 61 } |
| 62 | 62 |
| 63 void SystemSettingsProvider::TimezoneChanged(const icu::TimeZone& timezone) { | 63 void SystemSettingsProvider::TimezoneChanged(const icu::TimeZone& timezone) { |
| 64 // Fires system setting change notification. | 64 // Fires system setting change notification. |
| 65 timezone_value_.reset(new base::StringValue( | 65 timezone_value_.reset(new base::StringValue( |
| 66 system::TimezoneSettings::GetTimezoneID(timezone))); | 66 system::TimezoneSettings::GetTimezoneID(timezone))); |
| 67 NotifyObservers(kSystemTimezone); | 67 NotifyObservers(kSystemTimezone); |
| 68 } | 68 } |
| 69 | 69 |
| 70 } // namespace chromeos | 70 } // namespace chromeos |
| OLD | NEW |