diff --git a/brightray/browser/browser_client.h b/brightray/browser/browser_client.h index f69b017e5e..0612e56d25 100644 --- a/brightray/browser/browser_client.h +++ b/brightray/browser/browser_client.h @@ -50,6 +50,7 @@ class BrowserClient : public content::ContentBrowserClient { BrowserMainParts* browser_main_parts_; NetLog net_log_; + private: DISALLOW_COPY_AND_ASSIGN(BrowserClient); }; diff --git a/brightray/browser/url_request_context_getter.h b/brightray/browser/url_request_context_getter.h index f1ed5da9d6..78dc5c4eb8 100644 --- a/brightray/browser/url_request_context_getter.h +++ b/brightray/browser/url_request_context_getter.h @@ -31,15 +31,15 @@ class DevToolsNetworkController; class NetLog; class ExplicitURLSecurityManager : public net::URLSecurityManager { -public: + public: ExplicitURLSecurityManager(); - virtual bool CanUseDefaultCredentials(const GURL& auth_origin) const override; - virtual bool CanDelegate(const GURL& auth_origin) const override; + bool CanUseDefaultCredentials(const GURL& auth_origin) const override; + bool CanDelegate(const GURL& auth_origin) const override; void AllowNTLMCredentialsForAllDomains(bool should_allow) { allow_default_creds_ = should_allow; } -private: + private: bool allow_default_creds_; scoped_ptr orig_url_sec_mgr_;