diff options
author | Vitaly Buka <vitalybuka@google.com> | 2015-12-15 14:46:47 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2015-12-16 01:32:53 +0000 |
commit | 34668e731bb194b443bc0e6029d6d3583f08de28 (patch) | |
tree | 977de929eeaf54e264d1693d1a392a161ebf52f5 /src/privet/privet_handler.cc | |
parent | c3bc82a29cdff05d67d3b583ca0bc25df96ab382 (diff) | |
download | libweave-34668e731bb194b443bc0e6029d6d3583f08de28.tar.gz |
Reformat
Change-Id: Ia98499f9ada220151b24ecb8b60b02524d700bc4
Reviewed-on: https://weave-review.googlesource.com/1967
Reviewed-by: Vitaly Buka <vitalybuka@google.com>
Diffstat (limited to 'src/privet/privet_handler.cc')
-rw-r--r-- | src/privet/privet_handler.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/privet/privet_handler.cc b/src/privet/privet_handler.cc index b435435..377888f 100644 --- a/src/privet/privet_handler.cc +++ b/src/privet/privet_handler.cc @@ -392,7 +392,10 @@ PrivetHandler::PrivetHandler(CloudDelegate* cloud, SecurityDelegate* security, WifiDelegate* wifi, base::Clock* clock) - : cloud_(cloud), device_(device), security_(security), wifi_(wifi), + : cloud_(cloud), + device_(device), + security_(security), + wifi_(wifi), clock_(clock ? clock : &default_clock_) { CHECK(cloud_); CHECK(device_); @@ -1029,8 +1032,7 @@ void PrivetHandler::ReplyToUpdateRequest( output.SetString(kStateFingerprintKey, std::to_string(state_fingerprint_)); output.SetString(kCommandsFingerprintKey, std::to_string(traits_fingerprint_)); - output.SetString(kTraitsFingerprintKey, - std::to_string(traits_fingerprint_)); + output.SetString(kTraitsFingerprintKey, std::to_string(traits_fingerprint_)); output.SetString(kComponentsFingerprintKey, std::to_string(components_fingerprint_)); callback.Run(http::kOk, output); |