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

Unified Diff: chrome/browser/chromeos/drive/drive_integration_service.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
« no previous file with comments | « chrome/browser/chromeos/drive/change_list_loader.cc ('k') | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_integration_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
index 74bc5fa96631c50b0fd3d99302a69fd6b96c2e1e..df6bebea1cf0787e2a2ef43e28aa46d9d474718c 100644
--- a/chrome/browser/chromeos/drive/drive_integration_service.cc
+++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
@@ -271,7 +271,7 @@ void DriveIntegrationService::OnPushNotificationEnabled(bool enabled) {
drive_app_registry_->Update();
const char* status = (enabled ? "enabled" : "disabled");
- util::Log("Push notification is %s", status);
+ util::Log(logging::LOG_INFO, "Push notification is %s", status);
}
bool DriveIntegrationService::IsDriveEnabled() {
@@ -336,7 +336,7 @@ void DriveIntegrationService::AddDriveMountPoint() {
drive_mount_point);
if (success) {
- util::Log("Drive mount point is added");
+ util::Log(logging::LOG_INFO, "Drive mount point is added");
FOR_EACH_OBSERVER(DriveIntegrationServiceObserver, observers_,
OnFileSystemMounted());
}
@@ -356,7 +356,7 @@ void DriveIntegrationService::RemoveDriveMountPoint() {
mount_points->RevokeFileSystem(
util::GetDriveMountPointPath().BaseName().AsUTF8Unsafe());
- util::Log("Drive mount point is removed");
+ util::Log(logging::LOG_INFO, "Drive mount point is removed");
}
void DriveIntegrationService::InitializeAfterMetadataInitialized(
@@ -385,7 +385,7 @@ void DriveIntegrationService::InitializeAfterMetadataInitialized(
const bool registered =
drive_notification_manager->push_notification_registered();
const char* status = (registered ? "registered" : "not registered");
- util::Log("Push notification is %s", status);
+ util::Log(logging::LOG_INFO, "Push notification is %s", status);
if (drive_notification_manager->push_notification_enabled())
drive_app_registry_->Update();
« no previous file with comments | « chrome/browser/chromeos/drive/change_list_loader.cc ('k') | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698