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

Unified Diff: chrome/browser/browser_init.cc

Issue 174551: Enable welcome page for non-windows platforms.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: compile Created 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_init.cc
===================================================================
--- chrome/browser/browser_init.cc (revision 24524)
+++ chrome/browser/browser_init.cc (working copy)
@@ -352,18 +352,10 @@
return true;
}
-#if defined(OS_WIN)
GURL GetWelcomePageURL() {
- std::wstring welcome_url = l10n_util::GetString(IDS_WELCOME_PAGE_URL);
+ std::string welcome_url = l10n_util::GetStringUTF8(IDS_WELCOME_PAGE_URL);
return GURL(welcome_url);
}
-#else
-GURL GetWelcomePageURL() {
- // TODO(port): implement welcome page.
- NOTIMPLEMENTED();
- return GURL();
-}
-#endif
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698