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

Side by Side Diff: chrome/browser/chromeos/settings/system_settings_provider.h

Issue 2849823003: ChromeOS: implement per-user time zone preferences. (Closed)
Patch Set: Rebased. Created 3 years, 4 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 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_SYSTEM_SETTINGS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_SYSTEM_SETTINGS_PROVIDER_H_
6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_SYSTEM_SETTINGS_PROVIDER_H_ 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_SYSTEM_SETTINGS_PROVIDER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 21 matching lines...) Expand all
32 bool HandlesSetting(const std::string& path) const override; 32 bool HandlesSetting(const std::string& path) const override;
33 33
34 // TimezoneSettings::Observer implementation. 34 // TimezoneSettings::Observer implementation.
35 void TimezoneChanged(const icu::TimeZone& timezone) override; 35 void TimezoneChanged(const icu::TimeZone& timezone) override;
36 36
37 private: 37 private:
38 // CrosSettingsProvider implementation. 38 // CrosSettingsProvider implementation.
39 void DoSet(const std::string& path, const base::Value& in_value) override; 39 void DoSet(const std::string& path, const base::Value& in_value) override;
40 40
41 std::unique_ptr<base::Value> timezone_value_; 41 std::unique_ptr<base::Value> timezone_value_;
42 std::unique_ptr<base::Value> per_user_timezone_enabled_value_;
42 43
43 DISALLOW_COPY_AND_ASSIGN(SystemSettingsProvider); 44 DISALLOW_COPY_AND_ASSIGN(SystemSettingsProvider);
44 }; 45 };
45 46
46 } // namespace chromeos 47 } // namespace chromeos
47 48
48 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_SYSTEM_SETTINGS_PROVIDER_H_ 49 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_SYSTEM_SETTINGS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/preferences.cc ('k') | chrome/browser/chromeos/settings/system_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698