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

Unified Diff: chrome/browser/chromeos/dom_ui/system_options_handler.h

Issue 3143009: Reenabled ChromeOS system setting for timezone selection.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/dom_ui/system_options_handler.h
===================================================================
--- chrome/browser/chromeos/dom_ui/system_options_handler.h (revision 56142)
+++ chrome/browser/chromeos/dom_ui/system_options_handler.h (working copy)
@@ -8,12 +8,12 @@
#include <vector>
-#include "base/string16.h"
-#include "chrome/browser/dom_ui/options_ui.h"
-#include "third_party/icu/public/i18n/unicode/timezone.h"
+#include "chrome/browser/chromeos/dom_ui/cros_options_page_ui_handler.h"
+class DictionaryValue;
+
// ChromeOS system options page UI handler.
-class SystemOptionsHandler : public OptionsPageUIHandler {
+class SystemOptionsHandler : public chromeos::CrosOptionsPageUIHandler {
public:
SystemOptionsHandler();
virtual ~SystemOptionsHandler();
@@ -22,18 +22,6 @@
virtual void GetLocalizedValues(DictionaryValue* localized_strings);
private:
- // Creates the map of timezones used by the options page.
- ListValue* GetTimezoneList();
-
- // Gets timezone name.
- string16 GetTimezoneName(const icu::TimeZone* timezone);
-
- // Gets timezone ID which is also used as timezone pref value.
- string16 GetTimezoneID(const icu::TimeZone* timezone);
-
- // Timezones.
- std::vector<icu::TimeZone*> timezones_;
-
DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler);
};

Powered by Google App Engine
This is Rietveld 408576698