Index: chrome/browser/browser_about_handler.cc |
=================================================================== |
--- chrome/browser/browser_about_handler.cc (revision 26621) |
+++ chrome/browser/browser_about_handler.cc (working copy) |
@@ -75,7 +75,6 @@ |
const char kVersionPath[] = "version"; |
const char kCreditsPath[] = "credits"; |
const char kTermsPath[] = "terms"; |
-const char kLinuxSplash[] = "linux-splash"; |
const char kSyncPath[] = "sync"; |
// Points to the singleton AboutSource object, if any. |
@@ -195,23 +194,6 @@ |
return data; |
} |
-std::string AboutLinuxSplash() { |
- int resource_id = IDR_LINUX_SPLASH_HTML_CHROMIUM; |
- scoped_ptr<FileVersionInfo> version_info( |
- FileVersionInfo::CreateFileVersionInfoForCurrentModule()); |
- if (version_info == NULL) { |
- DLOG(ERROR) << "Unable to create FileVersionInfo object"; |
- } else { |
- if (version_info->is_official_build()) { |
- resource_id = IDR_LINUX_SPLASH_HTML_CHROME; |
- } |
- } |
- static const std::string linux_splash_html = |
- ResourceBundle::GetSharedInstance().GetDataResource(resource_id); |
- |
- return linux_splash_html; |
-} |
- |
void AboutMemory(AboutSource* source, int request_id) { |
// The AboutMemoryHandler cleans itself up. |
new AboutMemoryHandler(source, request_id); |
@@ -585,11 +567,6 @@ |
response = AboutSync(); |
#endif |
} |
-#if defined(OS_LINUX) |
- else if (path == kLinuxSplash) { |
- response = AboutLinuxSplash(); |
- } |
-#endif |
FinishDataRequest(response, request_id); |
} |