summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/helper.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 20:24:32 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 20:24:32 +0000
commit93842c2ee944584ccc652d180955ef62324dcde4 (patch)
treedba6594152ee7bbcc7c27c605c2acdf83cb51d03 /chrome/installer/util/helper.cc
parent8436e747836cb3a0e50c59509467921dcc08479c (diff)
downloadchromium_src-93842c2ee944584ccc652d180955ef62324dcde4.zip
chromium_src-93842c2ee944584ccc652d180955ef62324dcde4.tar.gz
chromium_src-93842c2ee944584ccc652d180955ef62324dcde4.tar.bz2
Convert LOG(INFO) to VLOG(1) - chrome/installer/.
Also remove some extra {}s, avoid "else" after "return"/use some early returns, and simplify some code. BUG=none TEST=none Review URL: http://codereview.chromium.org/3931004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/helper.cc')
-rw-r--r--chrome/installer/util/helper.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/helper.cc b/chrome/installer/util/helper.cc
index 9c0dda9..551b9c6 100644
--- a/chrome/installer/util/helper.cc
+++ b/chrome/installer/util/helper.cc
@@ -105,7 +105,7 @@ void installer::RemoveOldVersionDirs(const std::wstring& chrome_path,
// latest_version.
while (ret) {
if (find_file_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
- LOG(INFO) << "directory found: " << find_file_data.cFileName;
+ VLOG(1) << "directory found: " << find_file_data.cFileName;
version.reset(
installer::Version::GetVersionFromString(find_file_data.cFileName));
if (version.get() && latest_version->IsHigherThan(version.get())) {
@@ -113,7 +113,7 @@ void installer::RemoveOldVersionDirs(const std::wstring& chrome_path,
file_util::AppendToPath(&remove_dir, find_file_data.cFileName);
std::wstring chrome_dll_path(remove_dir);
file_util::AppendToPath(&chrome_dll_path, installer_util::kChromeDll);
- LOG(INFO) << "deleting directory " << remove_dir;
+ VLOG(1) << "deleting directory " << remove_dir;
scoped_ptr<DeleteTreeWorkItem> item;
item.reset(WorkItem::CreateDeleteTreeWorkItem(remove_dir,
chrome_dll_path));