summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-05 04:33:40 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-05 04:33:40 +0000
commit273dd583d6fec14e98c0f0f4df35e3aea4f2adac (patch)
tree1531b5c6a41baa64e0dfc55254d638f39caa2d84
parent354002bbf04a83faec5a14ed0ea3c3c7e77c2791 (diff)
downloadchromium_src-273dd583d6fec14e98c0f0f4df35e3aea4f2adac.zip
chromium_src-273dd583d6fec14e98c0f0f4df35e3aea4f2adac.tar.gz
chromium_src-273dd583d6fec14e98c0f0f4df35e3aea4f2adac.tar.bz2
Tighten debug logging slightly.
BUG=108724 TBR=yoz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9310109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120503 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/scoped_temp_dir.cc2
-rw-r--r--chrome/common/extensions/extension_unpacker_unittest.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/base/scoped_temp_dir.cc b/base/scoped_temp_dir.cc
index 6af4d75..2349d60 100644
--- a/base/scoped_temp_dir.cc
+++ b/base/scoped_temp_dir.cc
@@ -63,9 +63,7 @@ bool ScopedTempDir::Delete() {
if (path_.empty())
return false;
- file_util::g_bug108724_debug = true;
bool ret = file_util::Delete(path_, true);
- file_util::g_bug108724_debug = false;
if (ret) {
// We only clear the path if deleted the directory.
path_.clear();
diff --git a/chrome/common/extensions/extension_unpacker_unittest.cc b/chrome/common/extensions/extension_unpacker_unittest.cc
index d8978dc..10a7b6d 100644
--- a/chrome/common/extensions/extension_unpacker_unittest.cc
+++ b/chrome/common/extensions/extension_unpacker_unittest.cc
@@ -22,7 +22,9 @@ public:
~ExtensionUnpackerTest() {
LOG(WARNING) << "Deleting temp dir: "
<< temp_dir_.path().LossyDisplayName();
+ file_util::g_bug108724_debug = true;
LOG(WARNING) << temp_dir_.Delete();
+ file_util::g_bug108724_debug = false;
}
void SetupUnpacker(const std::string& crx_name) {