[chromium-style] destructors of ref-counted objects should be private

This commit is contained in:
Jeremy Apthorp 2018-04-17 16:23:40 -07:00
parent e6695cf2ec
commit 6c26bb1cf8
5 changed files with 8 additions and 5 deletions

View file

@ -73,7 +73,6 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
content::ProtocolHandlerMap* protocol_handlers,
content::URLRequestInterceptorScopedVector protocol_interceptors);
~URLRequestContextGetter() override;
// net::CookieStore::CookieChangedCallback implementation.
void OnCookieChanged(const net::CanonicalCookie& cookie,
@ -90,6 +89,8 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
void NotifyContextShutdownOnIO();
private:
~URLRequestContextGetter() override;
Delegate* delegate_;
NetLog* net_log_;