summaryrefslogtreecommitdiffstats
path: root/chrome/test/mini_installer_test
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 20:22:07 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 20:22:07 +0000
commitca8cf5f8032626708e47604d190dbda0ffd8d618 (patch)
tree4a73ad587be839680e0e0b879ef664558bf3a87a /chrome/test/mini_installer_test
parent593df619ff5c865bea2ffdd8927e5462c91318a2 (diff)
downloadchromium_src-ca8cf5f8032626708e47604d190dbda0ffd8d618.zip
chromium_src-ca8cf5f8032626708e47604d190dbda0ffd8d618.tar.gz
chromium_src-ca8cf5f8032626708e47604d190dbda0ffd8d618.tar.bz2
Convert LOG(INFO) to VLOG(1) - chrome/test/.
Also fix indentation, remove a few unnecessary endls, collapse some append()s into +s, and remove a few extra {}s. BUG=none TEST=none Review URL: http://codereview.chromium.org/3915004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/mini_installer_test')
-rw-r--r--chrome/test/mini_installer_test/mini_installer_test_util.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/test/mini_installer_test/mini_installer_test_util.cc b/chrome/test/mini_installer_test/mini_installer_test_util.cc
index 697f6d0..1fb0227 100644
--- a/chrome/test/mini_installer_test/mini_installer_test_util.cc
+++ b/chrome/test/mini_installer_test/mini_installer_test_util.cc
@@ -81,7 +81,7 @@ bool MiniInstallerTestUtil::GetCommandForTagging(std::wstring *return_command) {
return_command->append(mini_installer_constants::kStandaloneInstaller);
return_command->append(L" ");
return_command->append(mini_installer_constants::kChromeApplyTagParameters);
- LOG(INFO) << "Command to run Apply tag: " << return_command->c_str();
+ VLOG(1) << "Command to run Apply tag: " << return_command->c_str();
return true;
}
@@ -89,7 +89,7 @@ std::wstring MiniInstallerTestUtil::GetFilePath(const wchar_t* exe_name) {
FilePath installer_path;
PathService::Get(base::DIR_EXE, &installer_path);
installer_path = installer_path.Append(exe_name);
- LOG(INFO) << "Chrome exe path: " << installer_path.value().c_str();
+ VLOG(1) << "Chrome exe path: " << installer_path.value().c_str();
return installer_path.ToWStringHack();
}
@@ -136,7 +136,7 @@ bool MiniInstallerTestUtil::GetLatestFile(const wchar_t* file_name,
WIN32_FIND_DATA find_file_data;
HANDLE file_handle = FindFirstFile(file_name, &find_file_data);
if (file_handle == INVALID_HANDLE_VALUE) {
- LOG(INFO) << "Handle is invalid.";
+ VLOG(1) << "Handle is invalid.";
return false;
}
BOOL ret = TRUE;
@@ -248,7 +248,7 @@ bool MiniInstallerTestUtil::GetStandaloneVersion(
file_name.replace(pos, 1, L".");
file_name = L"3.0." + file_name;
return_file_name->assign(file_name.c_str());
- LOG(INFO) << "Standalone installer version: " << file_name.c_str();
+ VLOG(1) << "Standalone installer version: " << file_name.c_str();
return true;
}
@@ -288,14 +288,14 @@ bool MiniInstallerTestUtil::VerifyProcessClose(
const wchar_t* process_name) {
int timer = 0;
if (base::GetProcessCount(process_name, NULL) > 0) {
- LOG(INFO) << "Waiting for this process to end: " << process_name;
+ VLOG(1) << "Waiting for this process to end: " << process_name;
while ((base::GetProcessCount(process_name, NULL) > 0) &&
(timer < TestTimeouts::large_test_timeout_ms())) {
PlatformThread::Sleep(200);
timer = timer + 200;
}
} else {
- if (base::GetProcessCount(process_name, NULL) != 0)
+ if (base::GetProcessCount(process_name, NULL) != 0)
return false;
}
return true;