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/fileutils.h b/rtc_base/fileutils.h
index b9e8a05..fcbc6c3 100644
--- a/rtc_base/fileutils.h
+++ b/rtc_base/fileutils.h
@@ -42,6 +42,7 @@
 
 class DirectoryIterator {
   friend class Filesystem;
+
  public:
   // Constructor
   DirectoryIterator();
@@ -52,7 +53,7 @@
   // dir is the directory to traverse
   // returns true if the directory exists and is valid
   // The iterator will point to the first entry in the directory
-  virtual bool Iterate(const Pathname &path);
+  virtual bool Iterate(const Pathname& path);
 
   // Advances to the next file
   // returns true if there were more files in the directory.
@@ -70,8 +71,8 @@
   WIN32_FIND_DATA data_;
   HANDLE handle_;
 #else
-  DIR *dir_;
-  struct dirent *dirent_;
+  DIR* dir_;
+  struct dirent* dirent_;
   struct stat stat_;
 #endif
 };
@@ -83,12 +84,12 @@
   // This will attempt to delete the path located at filename.
   // It DCHECKs and returns false if the path points to a folder or a
   // non-existent file.
-  virtual bool DeleteFile(const Pathname &filename) = 0;
+  virtual bool DeleteFile(const Pathname& filename) = 0;
 
   // This moves a file from old_path to new_path, where "old_path" is a
   // plain file. This DCHECKs and returns false if old_path points to a
   // directory, and returns true if the function succeeds.
-  virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) = 0;
+  virtual bool MoveFile(const Pathname& old_path, const Pathname& new_path) = 0;
 
   // Returns true if pathname refers to a directory
   virtual bool IsFolder(const Pathname& pathname) = 0;
@@ -102,27 +103,27 @@
 
 class Filesystem {
  public:
-  static FilesystemInterface *default_filesystem() {
+  static FilesystemInterface* default_filesystem() {
     RTC_DCHECK(default_filesystem_);
     return default_filesystem_;
   }
 
-  static void set_default_filesystem(FilesystemInterface *filesystem) {
+  static void set_default_filesystem(FilesystemInterface* filesystem) {
     default_filesystem_ = filesystem;
   }
 
-  static FilesystemInterface *swap_default_filesystem(
-      FilesystemInterface *filesystem) {
-    FilesystemInterface *cur = default_filesystem_;
+  static FilesystemInterface* swap_default_filesystem(
+      FilesystemInterface* filesystem) {
+    FilesystemInterface* cur = default_filesystem_;
     default_filesystem_ = filesystem;
     return cur;
   }
 
-  static bool DeleteFile(const Pathname &filename) {
+  static bool DeleteFile(const Pathname& filename) {
     return EnsureDefaultFilesystem()->DeleteFile(filename);
   }
 
-  static bool MoveFile(const Pathname &old_path, const Pathname &new_path) {
+  static bool MoveFile(const Pathname& old_path, const Pathname& new_path) {
     return EnsureDefaultFilesystem()->MoveFile(old_path, new_path);
   }
 
@@ -130,7 +131,7 @@
     return EnsureDefaultFilesystem()->IsFolder(pathname);
   }
 
-  static bool IsFile(const Pathname &pathname) {
+  static bool IsFile(const Pathname& pathname) {
     return EnsureDefaultFilesystem()->IsFile(pathname);
   }
 
@@ -141,7 +142,7 @@
  private:
   static FilesystemInterface* default_filesystem_;
 
-  static FilesystemInterface *EnsureDefaultFilesystem();
+  static FilesystemInterface* EnsureDefaultFilesystem();
   RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(Filesystem);
 };