Implement encoder options in WebRtcVideoEngine2.

Implementing default options to enable denoising by default and wiring
up encoder settings to propagate VP8 settings.

BUG=1788
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6757 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/talk/media/webrtc/webrtcvideoengine2_unittest.h b/talk/media/webrtc/webrtcvideoengine2_unittest.h
index b5baa34..54e6f06 100644
--- a/talk/media/webrtc/webrtcvideoengine2_unittest.h
+++ b/talk/media/webrtc/webrtcvideoengine2_unittest.h
@@ -39,11 +39,13 @@
 class FakeVideoSendStream : public webrtc::VideoSendStream {
  public:
   FakeVideoSendStream(const webrtc::VideoSendStream::Config& config,
-                      const std::vector<webrtc::VideoStream>& video_streams);
+                      const std::vector<webrtc::VideoStream>& video_streams,
+                      const void* encoder_settings);
   webrtc::VideoSendStream::Config GetConfig();
   std::vector<webrtc::VideoStream> GetVideoStreams();
 
   bool IsSending() const;
+  bool GetVp8Settings(webrtc::VideoCodecVP8* settings) const;
 
  private:
   virtual webrtc::VideoSendStream::Stats GetStats() const OVERRIDE;
@@ -60,6 +62,8 @@
   bool sending_;
   webrtc::VideoSendStream::Config config_;
   std::vector<webrtc::VideoStream> video_streams_;
+  bool codec_settings_set_;
+  webrtc::VideoCodecVP8 vp8_settings_;
 };
 
 class FakeVideoReceiveStream : public webrtc::VideoReceiveStream {