Reland Use CopyOnWriteBuffer instead of Buffer to avoid unnecessary copies.

This CL removes copy and assign support from Buffer and changes various
parameters from Buffer to CopyOnWriteBuffer so they can be passed along
and copied without actually copying the underlying data.

With this changed some parameters to be "const" and fixed an issue when
creating a CopyOnWriteBuffer with empty data.

BUG=webrtc:5155

Review URL: https://codereview.webrtc.org/1823503002

Cr-Original-Commit-Position: refs/heads/master@{#12062}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: eec21bdae34bd63ebf568430488d6e25d8db9b4a
diff --git a/base/sslfingerprint.h b/base/sslfingerprint.h
index 735238d..1413a4c 100644
--- a/base/sslfingerprint.h
+++ b/base/sslfingerprint.h
@@ -14,7 +14,7 @@
 #include <string>
 
 #include "webrtc/base/basictypes.h"
-#include "webrtc/base/buffer.h"
+#include "webrtc/base/copyonwritebuffer.h"
 #include "webrtc/base/sslidentity.h"
 
 namespace rtc {
@@ -44,7 +44,7 @@
   std::string ToString();
 
   std::string algorithm;
-  rtc::Buffer digest;
+  rtc::CopyOnWriteBuffer digest;
 };
 
 }  // namespace rtc