diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 06:05:09 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 06:05:09 +0000 |
commit | 3c0c0bf588c11dcfd838482461c72787f9fcc83c (patch) | |
tree | 7894746811606391479b7d205a27b47d8525cbf3 /webkit/glue/plugins/plugin_list.h | |
parent | d3a2f242e60f5102c5ca3022152108941c7f63f8 (diff) | |
download | chromium_src-3c0c0bf588c11dcfd838482461c72787f9fcc83c.zip chromium_src-3c0c0bf588c11dcfd838482461c72787f9fcc83c.tar.gz chromium_src-3c0c0bf588c11dcfd838482461c72787f9fcc83c.tar.bz2 |
Enhance plugin load debug logging. This adds more logging for
debug-plugin-loading mode and uses LOG_IF consistently (I thought it would be
more understandable to have the condition explicit rather than some extra macro
that would now have to be moved to a common header file).
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/2799032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50826 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/plugin_list.h')
-rw-r--r-- | webkit/glue/plugins/plugin_list.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/plugins/plugin_list.h b/webkit/glue/plugins/plugin_list.h index f018346..7187ae2 100644 --- a/webkit/glue/plugins/plugin_list.h +++ b/webkit/glue/plugins/plugin_list.h @@ -73,6 +73,10 @@ class PluginList { // Gets the one instance of the PluginList. static PluginList* Singleton(); + // Returns true if we're in debug-plugin-loading mode. This is controlled + // by a command line switch. + static bool DebugPluginLoading(); + // Returns true iff the plugin list has been loaded already. bool PluginsLoaded(); |