diff options
author | Alex Vakulenko <avakulenko@chromium.org> | 2014-06-16 17:18:44 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-18 08:46:04 +0000 |
commit | 8a5322984f2d81bcbfd8d44c59747a11bd9b904b (patch) | |
tree | 691f393705f4aa8b6e2476817e1046f6e572efca /crypto_util_proxy.h | |
parent | 45170bcb5e3b5e076e9307c695faf25faac395c8 (diff) | |
download | shill-8a5322984f2d81bcbfd8d44c59747a11bd9b904b.tar.gz |
shill: Fix most of warnings from cpplint
Fix most cpplinter's warnings. On a few occasisions, the warnings
produced were false-positives, so added explicit // NOLINT comment
overrides.
There were a few instances of disallowed non-const reference usage
(reported as runtime/reference error by cpplint) for
"DBus::Error &error" which should potentially be changed
to pointers to comply with C++ coding style but I will let Shill
owners do that since there is quite a few of those and the
change isn't brain-dead simple...
BUG=None
TEST=platform2 still compiles and all unit tests pass.
Change-Id: Ic2e31896aa13d20eeb1a85dee74f3db8cccfde2e
Reviewed-on: https://chromium-review.googlesource.com/204164
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
Diffstat (limited to 'crypto_util_proxy.h')
-rw-r--r-- | crypto_util_proxy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto_util_proxy.h b/crypto_util_proxy.h index 875734b2..df9813c5 100644 --- a/crypto_util_proxy.h +++ b/crypto_util_proxy.h @@ -71,6 +71,7 @@ class CryptoUtilProxy : public base::SupportsWeakPtr<CryptoUtilProxy> { const std::string &data, const ResultStringCallback &result_callback, Error *error); + private: friend class CryptoUtilProxyTest; friend class MockCryptoUtilProxy; |