PolicyManager: Include what you use.
This patch fixes the includes of scoped_ptr. They are now included
from the files that need it, with the sole exception of the .cc files
where it is already included on the corresponding .h file.
Other minor fixes included here.
BUG=None
TEST=Build and unit test passing.
TEST='grep scoped_ptr *' shows that it is included where it is used.
Change-Id: Ic429f2835ae1c867eeb07280c289bca1fe88d4dd
Reviewed-on: https://chromium-review.googlesource.com/196972
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
diff --git a/policy_manager/evaluation_context.h b/policy_manager/evaluation_context.h
index b08e296..f894a46 100644
--- a/policy_manager/evaluation_context.h
+++ b/policy_manager/evaluation_context.h
@@ -9,6 +9,7 @@
#include <base/callback.h>
#include <base/memory/ref_counted.h>
+#include <base/memory/scoped_ptr.h>
#include <base/memory/weak_ptr.h>
#include <base/time/time.h>