summaryrefslogtreecommitdiff
path: root/action_processor.h
diff options
context:
space:
mode:
authorGilad Arnold <garnold@chromium.org>2014-07-10 16:48:47 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-07-11 18:54:57 +0000
commitcf175a098081f3f0e9ca52d997a7ce1585c14c2d (patch)
tree2d3dc5048c3a578c3cabf1839d58b3a8d78b3060 /action_processor.h
parenta1eabcdc93d118146639139257c2f5ccc3ffb061 (diff)
Fix cpplint errors.
The only non-obvious change here is the switch from dynamic_cast to static_cast in three cases of down-casting in UpdateAttempter. dynamic_cast is banned by style, nor does it add any safety in this particular case (subsequent code dereferences the result right away without checking whether it's null). BUG=None TEST=None Change-Id: I9d49b46362feaf9c6fa13b2715ebe9fe50308a9a Reviewed-on: https://chromium-review.googlesource.com/207470 Tested-by: Gilad Arnold <garnold@chromium.org> Reviewed-by: Alex Vakulenko <avakulenko@chromium.org> Commit-Queue: Gilad Arnold <garnold@chromium.org>
Diffstat (limited to 'action_processor.h')
-rw-r--r--action_processor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/action_processor.h b/action_processor.h
index 32457a8b..61fd29f9 100644
--- a/action_processor.h
+++ b/action_processor.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H_
-#define CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H_
+#ifndef UPDATE_ENGINE_ACTION_PROCESSOR_H_
+#define UPDATE_ENGINE_ACTION_PROCESSOR_H_
#include <deque>
@@ -99,4 +99,4 @@ class ActionProcessorDelegate {
} // namespace chromeos_update_engine
-#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_H_
+#endif // UPDATE_ENGINE_ACTION_PROCESSOR_H_