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

Unified Diff: chromeos/settings/timezone_settings.cc

Issue 1237023002: ChromeOS should have UTC timezone option. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build. Created 5 years, 2 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: chromeos/settings/timezone_settings.cc
diff --git a/chromeos/settings/timezone_settings.cc b/chromeos/settings/timezone_settings.cc
index ad6f17916ecb393dc2487709daa3b8a732d54567..adf04a8b57310275467fce00ec52ad9a2ba3a1f6 100644
--- a/chromeos/settings/timezone_settings.cc
+++ b/chromeos/settings/timezone_settings.cc
@@ -22,6 +22,12 @@
#include "base/threading/worker_pool.h"
#include "chromeos/settings/timezone_settings_helper.h"
+namespace chromeos {
+namespace system {
+const char kUTCTimezoneName[] = "Etc/GMT";
+}
+}
+
namespace {
// The filepath to the timezone file that symlinks to the actual timezone file.
@@ -77,6 +83,7 @@ static const char* kTimeZones[] = {
"America/Godthab",
"Atlantic/South_Georgia",
"Atlantic/Cape_Verde",
+ chromeos::system::kUTCTimezoneName,
"Atlantic/Azores",
"Atlantic/Reykjavik",
"Atlantic/St_Helena",
« chrome/browser/chromeos/system/timezone_util.cc ('K') | « chromeos/settings/timezone_settings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698