Index: chrome/browser/plugin_data_remover.h |
diff --git a/chrome/browser/plugin_data_remover.h b/chrome/browser/plugin_data_remover.h |
index cbc255678aeac711efbf95dc7f7251ec00185cc2..7d76d32e64757c62636c8279a6daa1a16625174f 100644 |
--- a/chrome/browser/plugin_data_remover.h |
+++ b/chrome/browser/plugin_data_remover.h |
@@ -39,6 +39,11 @@ class PluginDataRemover : public PluginProcessHost::Client, |
virtual void OnMessageReceived(const IPC::Message& message); |
virtual void OnChannelError(); |
+ // Returns whether there is a plug-in installed that supports removing |
+ // LSO data. Because this method possibly has to load the plug-in list, it |
+ // should only be called on the FILE thread. |
+ static bool IsSupported(); |
+ |
private: |
void SignalDone(); |
void SignalError(); |
@@ -52,6 +57,7 @@ class PluginDataRemover : public PluginProcessHost::Client, |
// deleted there as well. |
IPC::Channel* channel_; |
ScopedRunnableMethodFactory<PluginDataRemover> method_factory_; |
+ Lock task_lock_; |
}; |
#endif // CHROME_BROWSER_PLUGIN_DATA_REMOVER_H_ |