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

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

Issue 3941001: Convert LOG(INFO) to VLOG(1) - chrome/common/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
Index: chrome/common/extensions/extension_file_util.cc
===================================================================
--- chrome/common/extensions/extension_file_util.cc (revision 63075)
+++ chrome/common/extensions/extension_file_util.cc (working copy)
@@ -290,7 +290,7 @@
if (!file_util::DirectoryExists(install_directory))
return;
- LOG(INFO) << "Garbage collecting extensions...";
+ VLOG(1) << "Garbage collecting extensions...";
file_util::FileEnumerator enumerator(install_directory,
false, // Not recursive.
file_util::FileEnumerator::DIRECTORIES);
@@ -304,8 +304,8 @@
if (!Extension::IdIsValid(extension_id)) {
LOG(WARNING) << "Invalid extension ID encountered in extensions "
"directory: " << extension_id;
- LOG(INFO) << "Deleting invalid extension directory "
- << WideToASCII(extension_path.ToWStringHack()) << ".";
+ VLOG(1) << "Deleting invalid extension directory "
+ << WideToASCII(extension_path.ToWStringHack()) << ".";
file_util::Delete(extension_path, true); // Recursive.
continue;
}
@@ -317,8 +317,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()) {
- LOG(INFO) << "Deleting unreferenced install for directory "
- << WideToASCII(extension_path.ToWStringHack()) << ".";
+ VLOG(1) << "Deleting unreferenced install for directory "
+ << WideToASCII(extension_path.ToWStringHack()) << ".";
file_util::Delete(extension_path, true); // Recursive.
continue;
}
@@ -332,8 +332,8 @@
!version_dir.value().empty();
version_dir = versions_enumerator.Next()) {
if (version_dir.BaseName() != iter->second.BaseName()) {
- LOG(INFO) << "Deleting old version for directory "
- << WideToASCII(version_dir.ToWStringHack()) << ".";
+ VLOG(1) << "Deleting old version for directory "
+ << WideToASCII(version_dir.ToWStringHack()) << ".";
file_util::Delete(version_dir, true); // Recursive.
}
}

Powered by Google App Engine
This is Rietveld 408576698