diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 14:22:21 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 14:22:21 +0000 |
commit | 4f45f703e7eab2a325020f77ccf9ff53c485bf6b (patch) | |
tree | 58f7e94d3af7edf819fe4dc7b65e5036e12a8ad8 /chrome | |
parent | 86ab0bafce121b61326add8b850da1520c2f4a88 (diff) | |
download | chromium_src-4f45f703e7eab2a325020f77ccf9ff53c485bf6b.zip chromium_src-4f45f703e7eab2a325020f77ccf9ff53c485bf6b.tar.gz chromium_src-4f45f703e7eab2a325020f77ccf9ff53c485bf6b.tar.bz2 |
Add one more trace.
I think I'm getting close to figuring out why the test fails only on the bots.
TBR=aa
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/3578009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/extensions/extension.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc index bddd6ec..e1a5bb2 100644 --- a/chrome/common/extensions/extension.cc +++ b/chrome/common/extensions/extension.cc @@ -40,6 +40,9 @@ #include "third_party/skia/include/core/SkBitmap.h" #include "webkit/glue/image_decoder.h" +// TODOf remove. +#include <iostream> + namespace keys = extension_manifest_keys; namespace values = extension_manifest_values; namespace errors = extension_manifest_errors; @@ -2138,10 +2141,14 @@ bool Extension::IsAPIPermission(const std::string& str) { } bool Extension::CanExecuteScriptEverywhere() const { + // TODOf remove. + std::cout << "**** Extension::CanExecuteScriptEverywhere()\n"; if (location() == Extension::COMPONENT) return true; for (size_t i = 0; i < kNumCanExecuteScriptsEverywhere; ++i) { + // TODOf remove. + std::cout << "**** Comparing: " << id().c_str() << "==" << scripting_whitelist_[i] << L"\n" << std::flush; if (id() == scripting_whitelist_[i]) return true; } |