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/rtc_base/helpers.cc b/rtc_base/helpers.cc
index 89cf609..0260665 100644
--- a/rtc_base/helpers.cc
+++ b/rtc_base/helpers.cc
@@ -47,10 +47,8 @@
 // A test random generator, for predictable output.
 class TestRandomGenerator : public RandomGenerator {
  public:
-  TestRandomGenerator() : seed_(7) {
-  }
-  ~TestRandomGenerator() override {
-  }
+  TestRandomGenerator() : seed_(7) {}
+  ~TestRandomGenerator() override {}
   bool Init(const void* seed, size_t len) override { return true; }
   bool Generate(void* buf, size_t len) override {
     for (size_t i = 0; i < len; ++i) {
@@ -84,8 +82,8 @@
 // This round about way of creating a global RNG is to safe-guard against
 // indeterminant static initialization order.
 std::unique_ptr<RandomGenerator>& GetGlobalRng() {
-  static std::unique_ptr<RandomGenerator>& global_rng
-      = *new std::unique_ptr<RandomGenerator>(new SecureRandomGenerator());
+  static std::unique_ptr<RandomGenerator>& global_rng =
+      *new std::unique_ptr<RandomGenerator>(new SecureRandomGenerator());
 
   return global_rng;
 }
@@ -123,8 +121,9 @@
 }
 
 static bool CreateRandomString(size_t len,
-                        const char* table, int table_size,
-                        std::string* str) {
+                               const char* table,
+                               int table_size,
+                               std::string* str) {
   str->clear();
   // Avoid biased modulo division below.
   if (256 % table_size) {
@@ -147,10 +146,11 @@
   return CreateRandomString(len, kBase64, 64, str);
 }
 
-bool CreateRandomString(size_t len, const std::string& table,
+bool CreateRandomString(size_t len,
+                        const std::string& table,
                         std::string* str) {
-  return CreateRandomString(len, table.c_str(),
-                            static_cast<int>(table.size()), str);
+  return CreateRandomString(len, table.c_str(), static_cast<int>(table.size()),
+                            str);
 }
 
 bool CreateRandomData(size_t length, std::string* data) {