refactor: inline simple getters (#41125)
This commit is contained in:
parent
4e19321ba8
commit
ffec3127d5
17 changed files with 93 additions and 192 deletions
|
@ -119,8 +119,8 @@ class ElectronBrowserContext : public content::BrowserContext {
|
|||
|
||||
void SetUserAgent(const std::string& user_agent);
|
||||
std::string GetUserAgent() const;
|
||||
bool CanUseHttpCache() const;
|
||||
int GetMaxCacheSize() const;
|
||||
bool can_use_http_cache() const { return use_cache_; }
|
||||
int max_cache_size() const { return max_cache_size_; }
|
||||
ResolveProxyHelper* GetResolveProxyHelper();
|
||||
predictors::PreconnectManager* GetPreconnectManager();
|
||||
scoped_refptr<network::SharedURLLoaderFactory> GetURLLoaderFactory();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue