Addressing review comments that came after merging previous CL.
Minor updates to naming conventions and comments.
BUG=chromium-os:34299
TEST=Retested on ZGB. Re-ran unit tests.
Change-Id: I7db665d4f69969a972ee801f0e0cea9cf33437a6
Reviewed-on: https://gerrit.chromium.org/gerrit/36531
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Commit-Ready: Jay Srinivasan <jaysri@chromium.org>
Reviewed-by: Jay Srinivasan <jaysri@chromium.org>
Tested-by: Jay Srinivasan <jaysri@chromium.org>
diff --git a/update_attempter.cc b/update_attempter.cc
index 0c12ea7..e6a897a 100644
--- a/update_attempter.cc
+++ b/update_attempter.cc
@@ -605,7 +605,7 @@
// Also report the success code so that the percentiles can be
// interpreted properly for the remaining error codes in UMA.
- utils::SendErrorCodeToUMA(system_state_->metrics_lib(), code);
+ utils::SendErrorCodeToUma(system_state_->metrics_lib(), code);
return;
}
@@ -879,7 +879,7 @@
return false;
LOG(INFO) << "Update failed -- reporting the error event.";
- utils::SendErrorCodeToUMA(system_state_->metrics_lib(),
+ utils::SendErrorCodeToUma(system_state_->metrics_lib(),
error_event_->error_code);
shared_ptr<OmahaRequestAction> error_event_action(
new OmahaRequestAction(prefs_,