]> khamidou — GitHub mirrors - electron.git/commitdiff
Code cleanup
authorCheng Zhao <zcbenz@gmail.com>
Tue, 20 Oct 2015 05:52:39 +0000 (13:52 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 20 Oct 2015 05:52:39 +0000 (13:52 +0800)
atom/browser/atom_browser_context.cc

index b0a9897352e199101855aff1ea4599fbfd38a6d3..6cfb160489fcf8f579b6d9eae3990ed1951f2440 100644 (file)
@@ -169,15 +169,12 @@ void AtomBrowserContext::RegisterPrefs(PrefRegistrySimple* pref_registry) {
                                       base::FilePath());
 }
 
-
-bool AtomBrowserContext::AllowNTLMCredentialsForDomain
-    (const GURL& auth_origin) {
-  if (allow_ntlm_everywhere_) return true;
-  return brightray::URLRequestContextGetter
-    ::Delegate::AllowNTLMCredentialsForDomain(auth_origin);
+bool AtomBrowserContext::AllowNTLMCredentialsForDomain(const GURL& origin) {
+  if (allow_ntlm_everywhere_)
+    return true;
+  return Delegate::AllowNTLMCredentialsForDomain(origin);
 }
 
-
 void AtomBrowserContext::AllowNTLMCredentialsForAllDomains(bool should_allow) {
   allow_ntlm_everywhere_ = should_allow;
 }