protocol: use streaming interface between fetcher and requestjob

This commit is contained in:
deepak1556 2017-05-03 03:58:14 +05:30
parent aea25be150
commit 71b5d946e0
5 changed files with 106 additions and 76 deletions

View file

@ -23,6 +23,7 @@
#include "components/prefs/pref_service_factory.h"
#include "base/strings/string_util.h"
#include "content/browser/streams/stream_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/resource_context.h"
#include "content/public/browser/storage_partition.h"
@ -165,6 +166,10 @@ MediaDeviceIDSalt* BrowserContext::GetMediaDeviceIDSalt() {
return media_device_id_salt_.get();
}
content::StreamContext* BrowserContext::GetStreamContext() {
return content::StreamContext::GetFor(this);
}
base::FilePath BrowserContext::GetPath() const {
return path_;
}