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

Unified Diff: chrome/common/extensions/extension_file_util.cc

Issue 8368018: Convert chrome/common non-debug logs to debug logs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months 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
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_icon_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_file_util.cc
===================================================================
--- chrome/common/extensions/extension_file_util.cc (revision 107051)
+++ chrome/common/extensions/extension_file_util.cc (working copy)
@@ -70,8 +70,8 @@
}
if (version_dir.empty()) {
- LOG(ERROR) << "Could not find a home for extension " << id << " with "
- << "version " << version << ".";
+ DLOG(ERROR) << "Could not find a home for extension " << id << " with "
+ << "version " << version << ".";
return FilePath();
}
@@ -314,7 +314,7 @@
if (!file_util::DirectoryExists(install_directory))
return;
- VLOG(1) << "Garbage collecting extensions...";
+ DVLOG(1) << "Garbage collecting extensions...";
file_util::FileEnumerator enumerator(install_directory,
false, // Not recursive.
file_util::FileEnumerator::DIRECTORIES);
@@ -332,10 +332,10 @@
// Delete directories that aren't valid IDs.
if (extension_id.empty()) {
- LOG(WARNING) << "Invalid extension ID encountered in extensions "
- "directory: " << basename.value();
- VLOG(1) << "Deleting invalid extension directory "
- << extension_path.value() << ".";
+ DLOG(WARNING) << "Invalid extension ID encountered in extensions "
+ "directory: " << basename.value();
+ DVLOG(1) << "Deleting invalid extension directory "
+ << extension_path.value() << ".";
file_util::Delete(extension_path, true); // Recursive.
continue;
}
@@ -347,8 +347,8 @@
// move on. This can legitimately happen when an uninstall does not
// complete, for example, when a plugin is in use at uninstall time.
if (iter == extension_paths.end()) {
- VLOG(1) << "Deleting unreferenced install for directory "
- << extension_path.LossyDisplayName() << ".";
+ DVLOG(1) << "Deleting unreferenced install for directory "
+ << extension_path.LossyDisplayName() << ".";
file_util::Delete(extension_path, true); // Recursive.
continue;
}
@@ -362,8 +362,8 @@
!version_dir.value().empty();
version_dir = versions_enumerator.Next()) {
if (version_dir.BaseName() != iter->second.BaseName()) {
- VLOG(1) << "Deleting old version for directory "
- << version_dir.LossyDisplayName() << ".";
+ DVLOG(1) << "Deleting old version for directory "
+ << version_dir.LossyDisplayName() << ".";
file_util::Delete(version_dir, true); // Recursive.
}
}
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_icon_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698