REVIEW: Move MediaDeviceIDSalt from ProfileIOData to ProfileImpl.
https://codereview.chromium.org/2820163002
This commit is contained in:
parent
ba6e8b4dff
commit
b81ae1c36f
4 changed files with 7 additions and 22 deletions
|
@ -35,7 +35,6 @@ namespace brightray {
|
|||
|
||||
class RequireCTDelegate;
|
||||
class DevToolsNetworkControllerHandle;
|
||||
class MediaDeviceIDSalt;
|
||||
class NetLog;
|
||||
|
||||
class URLRequestContextGetter : public net::URLRequestContextGetter {
|
||||
|
@ -58,7 +57,6 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
|
|||
RequireCTDelegate* ct_delegate);
|
||||
virtual net::SSLConfigService* CreateSSLConfigService();
|
||||
virtual std::vector<std::string> GetCookieableSchemes();
|
||||
virtual MediaDeviceIDSalt* GetMediaDeviceIDSalt() { return nullptr; }
|
||||
};
|
||||
|
||||
URLRequestContextGetter(
|
||||
|
@ -80,9 +78,6 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
|
|||
|
||||
net::HostResolver* host_resolver();
|
||||
net::URLRequestJobFactory* job_factory() const { return job_factory_; }
|
||||
MediaDeviceIDSalt* GetMediaDeviceIDSalt() const {
|
||||
return delegate_->GetMediaDeviceIDSalt();
|
||||
}
|
||||
|
||||
private:
|
||||
Delegate* delegate_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue