update_engine: fixed remaining linter and some spelling errors
Fixed remaining errors from cpplint as well as some spelling errors
mostly in comments.
BUG=None
TEST=FEATURES=test emerge-link update_engine
Change-Id: I484988ab846ac5a3c68c016ddccfb247f225ec27
Reviewed-on: https://chromium-review.googlesource.com/208897
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/update_manager/evaluation_context.h b/update_manager/evaluation_context.h
index c277178..9ed6f26 100644
--- a/update_manager/evaluation_context.h
+++ b/update_manager/evaluation_context.h
@@ -43,7 +43,7 @@
//
// ...
// // Run a closure when any of the used async variables changes its value or
-// // the timeout for requery the values happens again.
+// // the timeout for re-query the values happens again.
// ec->RunOnValueChangeOrTimeout(closure);
// // If the provided |closure| wants to re-evaluate the policy, it should
// // call ec->ResetEvaluation() to start a new evaluation.
@@ -132,7 +132,8 @@
// A callback used for triggering re-evaluation upon a value change or poll
// timeout, or notifying about the evaluation context expiration. It is up to
- // the caller to determine whether or not expiration occured via is_expired().
+ // the caller to determine whether or not expiration occurred via
+ // is_expired().
scoped_ptr<base::Closure> callback_;
// The EventId returned by the event loop identifying the timeout callback.