update_engine: fixed warnings from cpplint
Fixed all the cpplint warnings in update engine.
BUG=None
TEST=Unit tests still pass.
Change-Id: I285ae858eec8abe0b26ff203b99a42a200ceb71c
Reviewed-on: https://chromium-review.googlesource.com/204027
Reviewed-by: Alex Vakulenko <[email protected]>
Tested-by: Alex Vakulenko <[email protected]>
Commit-Queue: Alex Vakulenko <[email protected]>
diff --git a/action.h b/action.h
index 27a2297..ce59158 100644
--- a/action.h
+++ b/action.h
@@ -7,8 +7,8 @@
#include <stdio.h>
-#include <iostream>
#include <memory>
+#include <string>
#include <base/basictypes.h>
#include <base/logging.h>
@@ -58,10 +58,10 @@
// DownloadAction::InputObjectType.
//
// Each concrete Action class derives from Action<T>. This means that during
-// template instatiation of Action<T>, T is declared but not defined, which
+// template instantiation of Action<T>, T is declared but not defined, which
// means that T::InputObjectType (and OutputObjectType) is not defined.
// However, the traits class is constructed in such a way that it will be
-// template instatiated first, so Action<T> *can* find the types it needs by
+// template instantiated first, so Action<T> *can* find the types it needs by
// consulting ActionTraits<T>::InputObjectType (and OutputObjectType).
// This is why the ActionTraits classes are needed.
@@ -109,7 +109,7 @@
// ActionProcessor::ActionComplete() because the processor knows this
// action is terminating.
// Only the ActionProcessor should call this.
- virtual void TerminateProcessing() {};
+ virtual void TerminateProcessing() {}
// These methods are useful for debugging. TODO(adlr): consider using
// std::type_info for this?