diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-07 19:10:09 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-07 19:10:09 +0000 |
commit | d76cbd651f0880d9edb5e497f71717f47b5482d7 (patch) | |
tree | 88f6366529baa3b6d9f9b566e68bd11b0c903b0d /chrome/browser/plugin_service.cc | |
parent | 9548e6c0cdea562a1b5293b224fb1e10ff6fcfb2 (diff) | |
download | chromium_src-d76cbd651f0880d9edb5e497f71717f47b5482d7.zip chromium_src-d76cbd651f0880d9edb5e497f71717f47b5482d7.tar.gz chromium_src-d76cbd651f0880d9edb5e497f71717f47b5482d7.tar.bz2 |
Temporary CL to debug test failure on the buildbot.
Review URL: http://codereview.chromium.org/1545023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_service.cc')
-rw-r--r-- | chrome/browser/plugin_service.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc index f16108d..de7e744 100644 --- a/chrome/browser/plugin_service.cc +++ b/chrome/browser/plugin_service.cc @@ -1,6 +1,8 @@ // Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <iostream> +using namespace std; #include "build/build_config.h" @@ -217,6 +219,8 @@ PluginProcessHost* PluginService::FindOrStartPluginProcess( DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)); PluginProcessHost *plugin_host = FindPluginProcess(plugin_path); + std::cout << "Starting plugin: " << plugin_path.ToWStringHack() + << " = " << plugin_host << endl; if (plugin_host) return plugin_host; @@ -227,6 +231,8 @@ PluginProcessHost* PluginService::FindOrStartPluginProcess( return NULL; } + std::cout << "Starting plugin info: " << info.name << endl; + // This plugin isn't loaded by any plugin process, so create a new process. plugin_host = new PluginProcessHost(); if (!plugin_host->Init(info, ui_locale_)) { @@ -297,6 +303,7 @@ void PluginService::OnWaitableEventSignaled( static void ForceShutdownPlugin(const FilePath& plugin_path) { PluginProcessHost* plugin = PluginService::GetInstance()->FindPluginProcess(plugin_path); + std::cout << "Shutting down:" << plugin << endl; if (plugin) plugin->ForceShutdown(); } |