]> khamidou — GitHub mirrors - electron.git/commitdiff
Fixed linter issues but now the code looks awful
authorPaul Betts <paul@paulbetts.org>
Mon, 19 Oct 2015 20:12:17 +0000 (13:12 -0700)
committerPaul Betts <paul@paulbetts.org>
Mon, 19 Oct 2015 20:12:17 +0000 (13:12 -0700)
atom/browser/atom_browser_context.cc
atom/browser/atom_browser_context.h

index 75742f8c8e6fa76e504df9b97fa431ede8032063..b0a9897352e199101855aff1ea4599fbfd38a6d3 100644 (file)
@@ -61,7 +61,7 @@ AtomBrowserContext::AtomBrowserContext(const std::string& partition,
                                        bool in_memory)
     : brightray::BrowserContext(partition, in_memory),
       job_factory_(new AtomURLRequestJobFactory),
-      allow_ntlm_everywhere_(false) { 
+      allow_ntlm_everywhere_(false) {
 }
 
 AtomBrowserContext::~AtomBrowserContext() {
@@ -170,9 +170,11 @@ void AtomBrowserContext::RegisterPrefs(PrefRegistrySimple* pref_registry) {
 }
 
 
-bool AtomBrowserContext::AllowNTLMCredentialsForDomain(const GURL& auth_origin) {
+bool AtomBrowserContext::AllowNTLMCredentialsForDomain
+    (const GURL& auth_origin) {
   if (allow_ntlm_everywhere_) return true;
-  return brightray::URLRequestContextGetter::Delegate::AllowNTLMCredentialsForDomain(auth_origin);
+  return brightray::URLRequestContextGetter
+    ::Delegate::AllowNTLMCredentialsForDomain(auth_origin);
 }
 
 
index d4b7d724b428fe38f2d48a4ef2c1d6b1528331dd..aafa092442bc43ddb9493b7bd9fd538ffe5d1bd4 100644 (file)
@@ -19,7 +19,7 @@ class AtomBrowserContext : public brightray::BrowserContext {
  public:
   AtomBrowserContext(const std::string& partition, bool in_memory);
   ~AtomBrowserContext() override;
-  
+
   // brightray::URLRequestContextGetter::Delegate:
   std::string GetUserAgent() override;
   net::URLRequestJobFactory* CreateURLRequestJobFactory(
@@ -36,7 +36,7 @@ class AtomBrowserContext : public brightray::BrowserContext {
 
   // brightray::BrowserContext:
   void RegisterPrefs(PrefRegistrySimple* pref_registry) override;
-  
+
   void AllowNTLMCredentialsForAllDomains(bool should_allow);
 
   AtomURLRequestJobFactory* job_factory() const { return job_factory_; }
@@ -47,7 +47,7 @@ class AtomBrowserContext : public brightray::BrowserContext {
 
   // Managed by brightray::BrowserContext.
   AtomURLRequestJobFactory* job_factory_;
-  
+
   bool allow_ntlm_everywhere_;
 
   DISALLOW_COPY_AND_ASSIGN(AtomBrowserContext);