Reformat the WebRTC code base

Running clang-format with chromium's style guide.

The goal is n-fold:
 * providing consistency and readability (that's what code guidelines are for)
 * preventing noise with presubmit checks and git cl format
 * building on the previous point: making it easier to automatically fix format issues
 * you name it

Please consider using git-hyper-blame to ignore this commit.

Bug: webrtc:9340
Change-Id: I694567c4cdf8cee2860958cfe82bfaf25848bb87
Reviewed-on: https://webrtc-review.googlesource.com/81185
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23660}
diff --git a/pc/datachannel.h b/pc/datachannel.h
index bd7ea1a..4491657 100644
--- a/pc/datachannel.h
+++ b/pc/datachannel.h
@@ -53,11 +53,7 @@
 };
 
 struct InternalDataChannelInit : public DataChannelInit {
-  enum OpenHandshakeRole {
-    kOpener,
-    kAcker,
-    kNone
-  };
+  enum OpenHandshakeRole { kOpener, kAcker, kNone };
   // The default role is kOpener because the default |negotiated| is false.
   InternalDataChannelInit() : open_handshake_role(kOpener) {}
   explicit InternalDataChannelInit(const DataChannelInit& base)
@@ -223,9 +219,7 @@
     PacketQueue();
     ~PacketQueue();
 
-    size_t byte_count() const {
-      return byte_count_;
-    }
+    size_t byte_count() const { return byte_count_; }
 
     bool Empty() const;
 
@@ -301,25 +295,25 @@
 
 // Define proxy for DataChannelInterface.
 BEGIN_SIGNALING_PROXY_MAP(DataChannel)
-  PROXY_SIGNALING_THREAD_DESTRUCTOR()
-  PROXY_METHOD1(void, RegisterObserver, DataChannelObserver*)
-  PROXY_METHOD0(void, UnregisterObserver)
-  PROXY_CONSTMETHOD0(std::string, label)
-  PROXY_CONSTMETHOD0(bool, reliable)
-  PROXY_CONSTMETHOD0(bool, ordered)
-  PROXY_CONSTMETHOD0(uint16_t, maxRetransmitTime)
-  PROXY_CONSTMETHOD0(uint16_t, maxRetransmits)
-  PROXY_CONSTMETHOD0(std::string, protocol)
-  PROXY_CONSTMETHOD0(bool, negotiated)
-  PROXY_CONSTMETHOD0(int, id)
-  PROXY_CONSTMETHOD0(DataState, state)
-  PROXY_CONSTMETHOD0(uint32_t, messages_sent)
-  PROXY_CONSTMETHOD0(uint64_t, bytes_sent)
-  PROXY_CONSTMETHOD0(uint32_t, messages_received)
-  PROXY_CONSTMETHOD0(uint64_t, bytes_received)
-  PROXY_CONSTMETHOD0(uint64_t, buffered_amount)
-  PROXY_METHOD0(void, Close)
-  PROXY_METHOD1(bool, Send, const DataBuffer&)
+PROXY_SIGNALING_THREAD_DESTRUCTOR()
+PROXY_METHOD1(void, RegisterObserver, DataChannelObserver*)
+PROXY_METHOD0(void, UnregisterObserver)
+PROXY_CONSTMETHOD0(std::string, label)
+PROXY_CONSTMETHOD0(bool, reliable)
+PROXY_CONSTMETHOD0(bool, ordered)
+PROXY_CONSTMETHOD0(uint16_t, maxRetransmitTime)
+PROXY_CONSTMETHOD0(uint16_t, maxRetransmits)
+PROXY_CONSTMETHOD0(std::string, protocol)
+PROXY_CONSTMETHOD0(bool, negotiated)
+PROXY_CONSTMETHOD0(int, id)
+PROXY_CONSTMETHOD0(DataState, state)
+PROXY_CONSTMETHOD0(uint32_t, messages_sent)
+PROXY_CONSTMETHOD0(uint64_t, bytes_sent)
+PROXY_CONSTMETHOD0(uint32_t, messages_received)
+PROXY_CONSTMETHOD0(uint64_t, bytes_received)
+PROXY_CONSTMETHOD0(uint64_t, buffered_amount)
+PROXY_METHOD0(void, Close)
+PROXY_METHOD1(bool, Send, const DataBuffer&)
 END_PROXY_MAP()
 
 }  // namespace webrtc