summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_main.cc
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 23:16:29 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 23:16:29 +0000
commit9629c0e4f8952045296a3c89d861bad68360b1c2 (patch)
treedcf6fb4079f8ecb9849856f06855c8f2450bc348 /chrome/renderer/renderer_main.cc
parent5d3e4b9a6dd76360e609cfe0bfadf30a47b216ec (diff)
downloadchromium_src-9629c0e4f8952045296a3c89d861bad68360b1c2.zip
chromium_src-9629c0e4f8952045296a3c89d861bad68360b1c2.tar.gz
chromium_src-9629c0e4f8952045296a3c89d861bad68360b1c2.tar.bz2
Add a very simple test for renderer_main, in the interests of bringup.
Also bring up ipc_sync_channel_unittest on OS X. Review URL: http://codereview.chromium.org/21060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_main.cc')
-rw-r--r--chrome/renderer/renderer_main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc
index 7d28ecf..1ae28a3 100644
--- a/chrome/renderer/renderer_main.cc
+++ b/chrome/renderer/renderer_main.cc
@@ -38,16 +38,16 @@ static void HandleRendererErrorTestParameters(const CommandLine& command_line) {
*bad_pointer = 0;
}
-#if defined(OS_WIN)
if (command_line.HasSwitch(switches::kRendererStartupDialog)) {
+#if defined(OS_WIN)
std::wstring title = l10n_util::GetString(IDS_PRODUCT_NAME);
title += L" renderer"; // makes attaching to process easier
MessageBox(NULL, L"renderer starting...", title.c_str(),
MB_OK | MB_SETFOREGROUND);
- }
#else
NOTIMPLEMENTED();
#endif // !OS_WIN
+ }
}
// mainline routine for running as the Rendererer process