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

Unified Diff: chrome/browser/ui/webui/help/help_handler.cc

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark Created 8 years, 4 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
« no previous file with comments | « chrome/browser/ui/startup/obsolete_os_prompt_mac.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/help/help_handler.cc
diff --git a/chrome/browser/ui/webui/help/help_handler.cc b/chrome/browser/ui/webui/help/help_handler.cc
index 82312fae3d914e2cb15f82f03fb3ae62f5b08c1f..5a1fb3d07d7487c28c6352045cfb04bc5c38c1f9 100644
--- a/chrome/browser/ui/webui/help/help_handler.cc
+++ b/chrome/browser/ui/webui/help/help_handler.cc
@@ -46,10 +46,6 @@
#include "content/public/browser/browser_thread.h"
#endif
-#if defined(OS_MACOSX)
-#include "chrome/browser/ui/cocoa/obsolete_os.h"
-#endif
-
using base::ListValue;
using content::BrowserThread;
@@ -170,13 +166,6 @@ void HelpHandler::GetLocalizedValues(DictionaryValue* localized_strings) {
l10n_util::GetStringUTF16(resources[i].ids));
}
-#if defined(OS_MACOSX)
- localized_strings->SetString("updateObsoleteOS",
- chrome::LocalizedObsoleteOSString());
- localized_strings->SetString("updateObsoleteOSURL",
- chrome::kMacLeopardObsoleteURL);
-#endif
-
localized_strings->SetString(
"browserVersion",
l10n_util::GetStringFUTF16(IDS_ABOUT_PRODUCT_VERSION,
@@ -293,13 +282,6 @@ void HelpHandler::OnPageLoaded(const ListValue* args) {
version_updater_->GetReleaseChannel(
base::Bind(&HelpHandler::OnReleaseChannel, base::Unretained(this)));
#endif
-
-#if defined(OS_MACOSX)
- scoped_ptr<base::Value> is_os_obsolete(
- base::Value::CreateBooleanValue(chrome::IsOSObsoleteOrNearlySo()));
- web_ui()->CallJavascriptFunction("help.HelpPage.setObsoleteOS",
- *is_os_obsolete);
-#endif
}
#if defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/ui/startup/obsolete_os_prompt_mac.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698