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

Unified Diff: chrome/browser/plugin_data_remover.h

Issue 5278001: Add a preference to clear Flash LSO data in the Clear Browsing Data dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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_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_

Powered by Google App Engine
This is Rietveld 408576698