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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/timezone_options_util.h

Issue 10689175: Refactored code for timezone settings. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added missing comment. Created 8 years, 5 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/ui/webui/options2/chromeos/timezone_options_util.h
diff --git a/chrome/browser/ui/webui/options2/chromeos/timezone_options_util.h b/chrome/browser/ui/webui/options2/chromeos/timezone_options_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..2e32a3b77d1589743d59fb2b1071dda6ed89b314
--- /dev/null
+++ b/chrome/browser/ui/webui/options2/chromeos/timezone_options_util.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_TIMEZONE_OPTIONS_UTIL_H_
+#define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_TIMEZONE_OPTIONS_UTIL_H_
+
+#include "base/memory/scoped_ptr.h"
+
+namespace base {
+class ListValue;
+}
+
+namespace options2 {
+
+// Creates a list of pairs of each timezone's ID and name.
+scoped_ptr<base::ListValue> GetTimezoneList();
+
+} // namespace options2
+
+#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_TIMEZONE_OPTIONS_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698