commit | cddd2d09878704128d35ddfeec862109b7d7fdc9 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@chromium.org> | Mon Nov 10 19:55:35 2014 -0800 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Wed Nov 12 19:56:58 2014 +0000 |
tree | 602af1db9a45848c1e50f64f11c531ad3977d53d | |
parent | 5b9fba9a8ba00165b8eae5040198f92cd0aa87d0 [diff] |
Include the implemented header first in all projects. The Google C++ style guide dictates that foo.cc and foo_unittest.cc should include foo.h in the first place, so missing headers in foo.h are detected with a compile error of the module implementing them and not when another module uses them. This CL sweeps across all the .cc file in platform2 enforcing this. BUG=None TEST=cbuildbot amd64-generic Change-Id: I41835835caba13f54c3c844ecf552eb0e47efa9d Reviewed-on: https://chromium-review.googlesource.com/228894 Tested-by: Alex Deymo <deymo@chromium.org> Reviewed-by: Alex Deymo <deymo@chromium.org> Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>