feat(webframe): export set cache capacity interface

This commit is contained in:
OJ Kwon 2018-01-25 16:02:17 -08:00
parent b9c0bab8f1
commit d172e29270
No known key found for this signature in database
GPG key ID: FFCFEF3460FD1901
2 changed files with 11 additions and 0 deletions

View file

@ -92,6 +92,7 @@ class WebFrame : public mate::Wrappable<WebFrame> {
// Resource related methods
blink::WebCache::ResourceTypeStats GetResourceUsage(v8::Isolate* isolate);
void ClearCache(v8::Isolate* isolate);
void SetCacheCapacity(v8::Isolate* isolate, int capacity);
std::unique_ptr<SpellCheckClient> spell_check_client_;