Index: chrome/browser/chromeos/offline/offline_load_page.cc |
diff --git a/chrome/browser/chromeos/offline/offline_load_page.cc b/chrome/browser/chromeos/offline/offline_load_page.cc |
index 965b39b1502f2f812ecbfad41fe6276c9222d0e2..10e462f8e32a1c8dcb0b7ce0537573e52432a5f1 100644 |
--- a/chrome/browser/chromeos/offline/offline_load_page.cc |
+++ b/chrome/browser/chromeos/offline/offline_load_page.cc |
@@ -82,18 +82,14 @@ std::string OfflineLoadPage::GetHTMLContents() { |
kMaxBlankPeriod - |
NetworkStateNotifier::GetOfflineDuration().InMilliseconds()); |
// Set the timeout to show the page. |
- strings.SetInteger("timeToWait", static_cast<int>(time_to_wait)); |
+ strings.SetInteger("time_to_wait", static_cast<int>(time_to_wait)); |
// Button labels |
SetString(&strings, "heading", IDS_OFFLINE_LOAD_HEADLINE); |
SetString(&strings, "try_loading", IDS_OFFLINE_TRY_LOADING); |
SetString(&strings, "network_settings", IDS_OFFLINE_NETWORK_SETTINGS); |
// Activation |
- SetString(&strings, "activation_heading", IDS_OFFLINE_ACTIVATION_HEADLINE); |
- SetString(&strings, "activation_msg", IDS_OFFLINE_ACTIVATION_MESSAGE); |
- SetString(&strings, "activation_button", IDS_OFFLINE_ACTIVATION_BUTTON); |
- strings.SetString("display_activation", |
- ShowActivationMessage() ? "block" : "none"); |
+ strings.SetBoolean("show_activation", ShowActivationMessage()); |
bool rtl = base::i18n::IsRTL(); |
strings.SetString("textdirection", rtl ? "rtl" : "ltr"); |