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

Unified Diff: chrome/test/webdriver/utility_functions.cc

Issue 3915004: Convert LOG(INFO) to VLOG(1) - chrome/test/. (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
« no previous file with comments | « chrome/test/webdriver/session_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/utility_functions.cc
===================================================================
--- chrome/test/webdriver/utility_functions.cc (revision 63075)
+++ chrome/test/webdriver/utility_functions.cc (working copy)
@@ -21,9 +21,8 @@
const size_t len = size / sizeof(atom[0]);
std::wstring ret = L"";
for (size_t i = 0; i < len; ++i) {
- if (atom[i] != NULL) {
+ if (atom[i] != NULL)
ret.append(std::wstring(atom[i]));
- }
}
return ret;
}
@@ -65,19 +64,17 @@
Value* params =
base::JSONReader::ReadAndReturnError(json, true, &error_code, error);
if (error_code != 0) {
- LOG(INFO) << "Could not parse JSON object, " << *error << std::endl;
- if (params) {
+ VLOG(1) << "Could not parse JSON object, " << *error;
+ if (params)
delete params;
- }
return false;
}
if (!params || params->GetType() != Value::TYPE_DICTIONARY) {
*error = "Data passed in URL must be of type dictionary.";
- LOG(INFO) << "Invalid type to parse" << std::endl;
- if (params) {
+ VLOG(1) << "Invalid type to parse";
+ if (params)
delete params;
- }
return false;
}
« no previous file with comments | « chrome/test/webdriver/session_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698