Index: chrome/browser/browser_about_handler.cc |
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc |
index 34f25566a1d814ab2715f972886de88823980802..3118b9ef2a5fb55b09dae01811829b97a7c69252 100644 |
--- a/chrome/browser/browser_about_handler.cc |
+++ b/chrome/browser/browser_about_handler.cc |
@@ -60,6 +60,7 @@ static const char kStatsPath[] = "stats"; |
static const char kVersionPath[] = "version"; |
static const char kCreditsPath[] = "credits"; |
static const char kTermsPath[] = "terms"; |
+static const char kLinuxSplash[] = "linux-splash"; |
class AboutSource : public ChromeURLDataManager::DataSource { |
public: |
@@ -140,6 +141,12 @@ void AboutSource::StartDataRequest(const std::string& path_raw, |
} else if (path == kTermsPath) { |
response = BrowserAboutHandler::AboutTerms(); |
} |
+#if defined(OS_LINUX) |
+ else if (path == kLinuxSplash) { |
+ response = BrowserAboutHandler::AboutLinuxSplash(); |
+ } |
+#endif |
+ |
FinishDataRequest(response, request_id); |
} |
@@ -303,6 +310,15 @@ std::string BrowserAboutHandler::AboutCredits() { |
} |
// static |
+std::string BrowserAboutHandler::AboutLinuxSplash() { |
+ static const std::string linux_splash_html = |
+ ResourceBundle::GetSharedInstance().GetDataResource( |
+ IDR_LINUX_SPLASH_HTML); |
+ |
+ return linux_splash_html; |
+} |
+ |
+// static |
std::string BrowserAboutHandler::AboutTerms() { |
static const std::string terms_html = |
ResourceBundle::GetSharedInstance().GetDataResource( |