diff options
author | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 22:32:44 +0000 |
---|---|---|
committer | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 22:32:44 +0000 |
commit | 760eda89e7571e66670b82e1eee00fb10115a56d (patch) | |
tree | e8e2222166e3b79a24071b74b4506aa7d5bd2555 /chrome/common/chrome_plugin_lib.cc | |
parent | e33ac1a3b9c670fb967abe15f13698ad33a023b9 (diff) | |
download | chromium_src-760eda89e7571e66670b82e1eee00fb10115a56d.zip chromium_src-760eda89e7571e66670b82e1eee00fb10115a56d.tar.gz chromium_src-760eda89e7571e66670b82e1eee00fb10115a56d.tar.bz2 |
Add logging to NP_Initialize and CP_Initialize to try to figure out why gears
is failing to load.
Review URL: http://codereview.chromium.org/21138
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_plugin_lib.cc')
-rw-r--r-- | chrome/common/chrome_plugin_lib.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_plugin_lib.cc b/chrome/common/chrome_plugin_lib.cc index 186261f..804a076 100644 --- a/chrome/common/chrome_plugin_lib.cc +++ b/chrome/common/chrome_plugin_lib.cc @@ -210,6 +210,8 @@ ChromePluginLib::~ChromePluginLib() { } bool ChromePluginLib::CP_Initialize(const CPBrowserFuncs* bfuncs) { + LOG(INFO) << "ChromePluginLib::CP_Initialize(" << filename_.value() << + "): initialized=" << initialized_; if (initialized_) return true; @@ -229,6 +231,9 @@ bool ChromePluginLib::CP_Initialize(const CPBrowserFuncs* bfuncs) { initialized_ = (rv == CPERR_SUCCESS) && (CP_GET_MAJOR_VERSION(plugin_funcs_.version) == CP_MAJOR_VERSION) && (CP_GET_MINOR_VERSION(plugin_funcs_.version) <= CP_MINOR_VERSION); + LOG(INFO) << "ChromePluginLib::CP_Initialize(" << filename_.value() << + "): initialized=" << initialized_ << + "): result=" << rv; return initialized_; } |