Index: chrome/app/chrome_main_delegate.cc |
=================================================================== |
--- chrome/app/chrome_main_delegate.cc (revision 155957) |
+++ chrome/app/chrome_main_delegate.cc (working copy) |
@@ -636,9 +636,6 @@ |
int ChromeMainDelegate::RunProcess( |
const std::string& process_type, |
const content::MainFunctionParams& main_function_params) { |
- // ANDROID doesn't support "service", so no ServiceProcessMain, and arraysize |
- // doesn't support empty array. So we comment out the block for Android. |
-#if !defined(OS_ANDROID) |
static const MainFunction kMainFunctions[] = { |
{ switches::kServiceProcess, ServiceProcessMain }, |
#if defined(OS_MACOSX) |
@@ -654,7 +651,6 @@ |
if (process_type == kMainFunctions[i].name) |
return kMainFunctions[i].function(main_function_params); |
} |
-#endif |
return -1; |
} |