summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/customization_document.h
diff options
context:
space:
mode:
authordenisromanov@chromium.org <denisromanov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 15:55:41 +0000
committerdenisromanov@chromium.org <denisromanov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 15:55:41 +0000
commita0584b22312364d59e214d42941fc1c6076806d1 (patch)
tree5482171bc53e37f156fa2fd93f276dd761fc0ea7 /chrome/browser/chromeos/customization_document.h
parentd77495cbfca73972a984677c6f0e65ba2cdbfb64 (diff)
downloadchromium_src-a0584b22312364d59e214d42941fc1c6076806d1.zip
chromium_src-a0584b22312364d59e214d42941fc1c6076806d1.tar.gz
chromium_src-a0584b22312364d59e214d42941fc1c6076806d1.tar.bz2
Added initial_timezone attribute support for startup manifest.
Added initial_timezone=Asia/Tokyo attribute to the test manifest. BUG=http://crosbug.com/1761 TEST=Run out/Debug/chrome --login-manager --startup-manifest=chrome/browser/chromeos/testdata/startup_manifest.json. Press Ctrl+Alt+U to switch to update screen. Clock in status area should display Tokyo time. Review URL: http://codereview.chromium.org/2834018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/customization_document.h')
-rw-r--r--chrome/browser/chromeos/customization_document.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/customization_document.h b/chrome/browser/chromeos/customization_document.h
index a46d847..169adb9 100644
--- a/chrome/browser/chromeos/customization_document.h
+++ b/chrome/browser/chromeos/customization_document.h
@@ -64,6 +64,7 @@ class StartupCustomizationDocument : public CustomizationDocument {
const std::string& product_sku() const { return product_sku_; }
const std::string& initial_locale() const { return initial_locale_; }
+ const std::string& initial_timezone() const { return initial_timezone_; }
SkColor background_color() const { return background_color_; }
const std::string& registration_url() const { return registration_url_; }
@@ -78,6 +79,9 @@ class StartupCustomizationDocument : public CustomizationDocument {
// Initial locale for the OOBE wizard.
std::string initial_locale_;
+ // Initial timezone for clock setting.
+ std::string initial_timezone_;
+
// OOBE wizard and login screen background color.
SkColor background_color_;