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 <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/mock_p2p_manager.h b/mock_p2p_manager.h
index 4d2e9f3..b0b6ac8 100644
--- a/mock_p2p_manager.h
+++ b/mock_p2p_manager.h
@@ -5,6 +5,8 @@
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_P2P_MANAGER_H_
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_P2P_MANAGER_H_
+#include <string>
+
#include "update_engine/fake_p2p_manager.h"
#include <gmock/gmock.h>
@@ -13,7 +15,7 @@
// A mocked, fake implementation of P2PManager.
class MockP2PManager : public P2PManager {
-public:
+ public:
MockP2PManager() {
// Delegate all calls to the fake instance
ON_CALL(*this, SetDevicePolicy(testing::_))
@@ -83,7 +85,7 @@
return fake_;
}
-private:
+ private:
// The underlying FakeP2PManager.
FakeP2PManager fake_;