Create a CodeCache per each storage_partition to store generated code

https://chromium-review.googlesource.com/c/chromium/src/+/1120179
This commit is contained in:
deepak1556 2018-10-25 22:37:55 +05:30
parent b5b49c9ed0
commit 25d0a7b62a
2 changed files with 6 additions and 0 deletions

View file

@ -191,6 +191,11 @@ base::FilePath AtomBrowserContext::GetPath() const {
return path_;
}
base::FilePath AtomBrowserContext::GetCachePath() const {
// TODO(deepak1556): Use platform cache directory.
return path_;
}
bool AtomBrowserContext::IsOffTheRecord() const {
return in_memory_;
}

View file

@ -60,6 +60,7 @@ class AtomBrowserContext
// content::BrowserContext:
base::FilePath GetPath() const override;
base::FilePath GetCachePath() const override;
bool IsOffTheRecord() const override;
content::ResourceContext* GetResourceContext() override;
std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(