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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 211036: Linux: Remove linux splash page and printing command line switch.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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/browser.cc ('k') | chrome/browser/browser_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698