diff options
Diffstat (limited to 'chrome/plugin/plugin_main.cc')
-rw-r--r-- | chrome/plugin/plugin_main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/plugin/plugin_main.cc b/chrome/plugin/plugin_main.cc index 25e8968..df2dbc1 100644 --- a/chrome/plugin/plugin_main.cc +++ b/chrome/plugin/plugin_main.cc @@ -15,6 +15,10 @@ // mainline routine for running as the plugin process int PluginMain(CommandLine &parsed_command_line, int show_command, sandbox::TargetServices* target_services) { + // The main thread of the plugin services IO. + MessageLoopForIO main_message_loop; + PlatformThread::SetName("Chrome_PluginMain"); + CoInitialize(NULL); DLOG(INFO) << "Started plugin with " << parsed_command_line.command_line_string(); |