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/real_random_provider.h b/policy_manager/real_random_provider.h
index cc27c07..07b6e47 100644
--- a/policy_manager/real_random_provider.h
+++ b/policy_manager/real_random_provider.h
@@ -5,6 +5,8 @@
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_RANDOM_PROVIDER_H_
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_REAL_RANDOM_PROVIDER_H_
+#include <base/memory/scoped_ptr.h>
+
#include "update_engine/policy_manager/random_provider.h"
namespace chromeos_policy_manager {