diff options
author | Alex Vakulenko <avakulenko@chromium.org> | 2014-06-16 13:19:00 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-18 01:39:59 +0000 |
commit | d2779df63aaad8b65fc5d4badee7dbc9bed7f2b6 (patch) | |
tree | e34a511ee4068d8d9cd46a992a4e147f3afbd351 /test_utils.h | |
parent | b683327ed3f50ef89324069fc87ee076b65bee46 (diff) |
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>
Diffstat (limited to 'test_utils.h')
-rw-r--r-- | test_utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test_utils.h b/test_utils.h index 120f0808..ec191f83 100644 --- a/test_utils.h +++ b/test_utils.h @@ -70,7 +70,7 @@ inline int Chdir(const std::string& path) { void FillWithData(std::vector<char>* buffer); -namespace { +namespace { // NOLINT(build/namespaces) - anon. NS in header file. // 300 byte pseudo-random string. Not null terminated. // This does not gzip compress well. const unsigned char kRandomString[] = { @@ -114,7 +114,7 @@ const unsigned char kRandomString[] = { 0xbe, 0x9f, 0xa3, 0x5d }; -} // namespace {} +} // namespace // Creates an empty ext image. void CreateEmptyExtImageAtPath(const std::string& path, @@ -263,7 +263,7 @@ class ScopedLoopMounter { public: explicit ScopedLoopMounter(const std::string& file_path, std::string* mnt_path, - unsigned long flags); + unsigned long flags); // NOLINT(runtime/int) private: // These objects must be destructed in the following order: |