Add ctors to ChannelBuffer to enable copying on construction.

Also:
- Fix the constness of some parameters.
- Add more const overloads.
- Use DCHECK in place of assert.
- Removed an unnecessary memset.

R=claguna@google.com

Review URL: https://webrtc-codereview.appspot.com/24469004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7107 4adac7df-926f-26a2-2b94-8c16560cd09d
2 files changed