Clang-format aos
It has drifted... Clean it up a bit.
Change-Id: I2fe31a2187b4f690634ae6942786575db20192af
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/network/web_proxy.cc b/aos/network/web_proxy.cc
index 30707b2..7161ee3 100644
--- a/aos/network/web_proxy.cc
+++ b/aos/network/web_proxy.cc
@@ -208,7 +208,6 @@
return;
}
-
while (fetcher_->FetchNext()) {
// If we aren't building up a buffer, short-circuit the FetchNext().
if (buffer_size_ == 0) {
@@ -304,7 +303,8 @@
});
}
-void Subscriber::RemoveListener(std::shared_ptr<ScopedDataChannel> data_channel) {
+void Subscriber::RemoveListener(
+ std::shared_ptr<ScopedDataChannel> data_channel) {
channels_.erase(
std::remove_if(
channels_.begin(), channels_.end(),
@@ -636,8 +636,7 @@
CHECK(data_channel) << ": Subscriber got destroyed before we started.";
// Raw pointer inside the subscriber so we don't have a circular
// reference. AddListener will close it.
- subscribers_[channel_index]->AddListener(data_channel,
- transfer_method);
+ subscribers_[channel_index]->AddListener(data_channel, transfer_method);
});
Subscriber *subscriber = subscribers_[channel_index].get();