Index: chrome/common/localized_error.cc |
diff --git a/chrome/common/localized_error.cc b/chrome/common/localized_error.cc |
index 2e0b80847f5fce79c75a78a6e7656643a1ca62c0..658c6dcb562620625466675746f9f9f2485d22fd 100644 |
--- a/chrome/common/localized_error.cc |
+++ b/chrome/common/localized_error.cc |
@@ -669,12 +669,17 @@ void LocalizedError::GetStrings(int error_code, |
} |
} |
+ if (stale_copy_in_cache) { |
mmenke
2014/03/26 15:06:14
I suggest putting this below use_default_suggestio
Randy Smith (Not in Mondays)
2014/03/26 20:40:12
This currently happens only in the link doctor cas
mmenke
2014/03/27 14:28:28
Yes, this is only in the Link Doctor case. This i
Randy Smith (Not in Mondays)
2014/04/02 19:20:58
Yeah, I thought about what it would take to do it
|
+ base::DictionaryValue* stale_load_button = new base::DictionaryValue; |
+ stale_load_button->SetString( |
+ "msg", l10n_util::GetStringUTF16(IDS_ERRORPAGES_BUTTON_STALE)); |
mmenke
2014/03/26 15:06:14
This subdirectory isn't needed. Instead you can j
Randy Smith (Not in Mondays)
2014/03/26 20:40:12
Done (now that I understand what's going on :-}).
|
+ error_strings->Set("staleCopyInCache", stale_load_button); |
mmenke
2014/03/26 15:06:14
Getting the "IDS_ERRORPAGES_BUTTON_STALE" string,
Randy Smith (Not in Mondays)
2014/03/26 20:40:12
Done. Let me know if you'd like me to regularize
mmenke
2014/03/27 14:28:28
I think it'd be great if you went ahead and cleane
Randy Smith (Not in Mondays)
2014/04/02 19:20:58
I believe I've done this (just changing the templa
|
+ } |
+ |
// If not using the default suggestions, nothing else to do. |
if (!use_default_suggestions) |
return; |
- error_strings->SetBoolean("staleCopyInCache", stale_copy_in_cache); |
- |
#if defined(OS_CHROMEOS) |
error_strings->SetString( |
"diagnose", l10n_util::GetStringUTF16(IDS_ERRORPAGES_BUTTON_DIAGNOSE)); |