This cl implement a salt that is being used for obfuscating device ids before a device id is sent to the render process. The purpose of the salt is to make sure that the device ids as seen by the render process are invalidated if cookies are cleared.

BUG=269139
TEST= open http://src.chromium.org/chrome/trunk/src/chrome/test/data/webrtc/manual/peerconnection.html using http (not https) note the source ids in the Audio source and Video source dropdown. Restart chrome and notice that the source ids in the dropdown are unchanged. Clear the cookie cache and press the Refresh devices button and notice that the source ids have changed.

Review URL: https://codereview.chromium.org/54863002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238103 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/resource_context_impl.cc b/content/browser/resource_context_impl.cc
index c026d93..c2f22073 100644
--- a/content/browser/resource_context_impl.cc
+++ b/content/browser/resource_context_impl.cc
@@ -55,6 +55,10 @@
   DetachUserDataThread();
 }
 
+std::string ResourceContext::GetMediaDeviceIDSalt() {
+  return std::string();
+}
+
 scoped_ptr<net::ClientCertStore> ResourceContext::CreateClientCertStore() {
   return scoped_ptr<net::ClientCertStore>();
 }