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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc

Issue 20609006: Add severity info to drive::EventLogger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase - the 2nd try - Created 7 years, 5 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/browser/chromeos/extensions/file_manager/private_api_mount.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
index ba2932769075f77051cdacd83a108319b6324616..2c7b6f66436ef4e84cdefd5eabb39b8db27f7f50 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
@@ -81,7 +81,8 @@ bool AddMountFunction::RunImpl() {
return false;
}
- drive::util::Log("%s[%d] called. (source: '%s', type:'%s')",
+ drive::util::Log(logging::LOG_INFO,
+ "%s[%d] called. (source: '%s', type:'%s')",
name().c_str(),
request_id(),
file_url.empty() ? "(none)" : file_url.c_str(),
@@ -186,7 +187,8 @@ bool RemoveMountFunction::RunImpl() {
return false;
}
- drive::util::Log("%s[%d] called. (mount_path: '%s')",
+ drive::util::Log(logging::LOG_INFO,
+ "%s[%d] called. (mount_path: '%s')",
name().c_str(),
request_id(),
mount_path.c_str());
@@ -254,7 +256,8 @@ bool GetMountPointsFunction::RunImpl() {
log_string += "]";
- drive::util::Log("%s[%d] succeeded. (results: '%s', %" PRIuS " mount points)",
+ drive::util::Log(logging::LOG_INFO,
+ "%s[%d] succeeded. (results: '%s', %" PRIuS " mount points)",
name().c_str(),
request_id(),
log_string.c_str(),
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc ('k') | chrome/browser/drive/event_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698