Wire it up
authorPaul Betts <paul@paulbetts.org>
Fri, 16 Oct 2015 23:46:05 +0000 (16:46 -0700)
committerPaul Betts <paul@paulbetts.org>
Fri, 16 Oct 2015 23:46:05 +0000 (16:46 -0700)
atom/browser/api/atom_api_app.cc
atom/browser/api/atom_api_app.h

index 47c3b1dd4672a1d552443fb75582d78465a22e01..158dd6ae3488a808be3e13e152b39e66d0413f07 100644 (file)
@@ -291,6 +291,7 @@ mate::ObjectTemplateBuilder App::GetObjectTemplateBuilder(
       .SetMethod("getPath", &App::GetPath)
       .SetMethod("setDesktopName", &App::SetDesktopName)
       .SetMethod("setAppUserModelId", &App::SetAppUserModelId)
+      .SetMethod("allowNTLMCredentialsForAllDomains", &App::AllowNTLMCredentialsForAllDomains)
       .SetMethod("getLocale", &App::GetLocale)
       .SetProperty("defaultSession", &App::DefaultSession);
 }
index 75889d24543fd5aed7049e3d2c72a0f6a5c0f3cf..52f134169fcdbcdc0fe38b0c05b11b57a68a4d63 100644 (file)
@@ -66,7 +66,7 @@ class App : public mate::EventEmitter,
   void SetDesktopName(const std::string& desktop_name);
   void SetAppUserModelId(const std::string& app_id);
   void AllowNTLMCredentialsForAllDomains(bool should_allow);
-
+  
   std::string GetLocale();
   v8::Local<v8::Value> DefaultSession(v8::Isolate* isolate);