Create a CodeCache per each storage_partition to store generated code
1120179
This commit is contained in:
parent
b5b49c9ed0
commit
25d0a7b62a
2 changed files with 6 additions and 0 deletions
|
@ -191,6 +191,11 @@ base::FilePath AtomBrowserContext::GetPath() const {
|
||||||
return path_;
|
return path_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base::FilePath AtomBrowserContext::GetCachePath() const {
|
||||||
|
// TODO(deepak1556): Use platform cache directory.
|
||||||
|
return path_;
|
||||||
|
}
|
||||||
|
|
||||||
bool AtomBrowserContext::IsOffTheRecord() const {
|
bool AtomBrowserContext::IsOffTheRecord() const {
|
||||||
return in_memory_;
|
return in_memory_;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,6 +60,7 @@ class AtomBrowserContext
|
||||||
|
|
||||||
// content::BrowserContext:
|
// content::BrowserContext:
|
||||||
base::FilePath GetPath() const override;
|
base::FilePath GetPath() const override;
|
||||||
|
base::FilePath GetCachePath() const override;
|
||||||
bool IsOffTheRecord() const override;
|
bool IsOffTheRecord() const override;
|
||||||
content::ResourceContext* GetResourceContext() override;
|
content::ResourceContext* GetResourceContext() override;
|
||||||
std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
|
std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue