Add BrowserContext::GetRequestContext
This commit is contained in:
parent
c1b07b3da9
commit
4afa3f7206
2 changed files with 14 additions and 6 deletions
|
@ -38,6 +38,9 @@ class BrowserContext : public base::RefCounted<BrowserContext>,
|
|||
static scoped_refptr<BrowserContext> Create(
|
||||
const std::string& partition, bool in_memory);
|
||||
|
||||
// Get the request context, if there is no one, create it.
|
||||
URLRequestContextGetter* GetRequestContext();
|
||||
|
||||
// content::BrowserContext:
|
||||
std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
|
||||
const base::FilePath& partition_path) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue