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

Unified Diff: chrome/browser/plugin_service.cc

Issue 6308001: When clearing plugin data at shutdown, wait for it to finish. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whoops Created 9 years, 11 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
Index: chrome/browser/plugin_service.cc
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc
index 6d2a703e5483d7ca6114a2a3c45d967163032891..9869d81db3996822d40e3526eae0744345405a14 100644
--- a/chrome/browser/plugin_service.cc
+++ b/chrome/browser/plugin_service.cc
@@ -266,10 +266,12 @@ void PluginService::FinishOpenChannelToPlugin(
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
PluginProcessHost* plugin_host = FindOrStartPluginProcess(plugin_path);
- if (plugin_host)
+ if (plugin_host) {
+ client->OnPluginProcessFound(plugin_host);
plugin_host->OpenChannelToPlugin(client);
- else
+ } else {
client->OnError();
+ }
}
bool PluginService::GetFirstAllowedPluginInfo(
« chrome/browser/plugin_data_remover.h ('K') | « chrome/browser/plugin_process_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698