Index: content/browser/resource_context_impl.cc |
diff --git a/content/browser/resource_context_impl.cc b/content/browser/resource_context_impl.cc |
index 9561c8d8ebf8ac32dda2ed3544d066d56cbdc09e..14115a4887c77b6d081bba0fec8eb789a9480da0 100644 |
--- a/content/browser/resource_context_impl.cc |
+++ b/content/browser/resource_context_impl.cc |
@@ -37,6 +37,11 @@ class NonOwningZoomData : public base::SupportsUserData::Data { |
HostZoomMap* host_zoom_map_; |
}; |
+// Used by the default implementation of GetMediaDeviceIDSalt, below. |
+std::string ReturnEmptySalt() { |
+ return std::string(); |
+} |
+ |
} // namespace |
@@ -56,8 +61,8 @@ ResourceContext::~ResourceContext() { |
DetachUserDataThread(); |
} |
-std::string ResourceContext::GetMediaDeviceIDSalt() { |
- return std::string(); |
+ResourceContext::SaltCallback ResourceContext::GetMediaDeviceIDSalt() { |
+ return base::Bind(&ReturnEmptySalt); |
} |
scoped_ptr<net::ClientCertStore> ResourceContext::CreateClientCertStore() { |