Refactoring MediaOptimization so it can easily be turned into a thread-safe class.

BUG=2732
R=stefan@webrtc.org

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

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