]> khamidou — GitHub mirrors - electron.git/commitdiff
cpplinting
authorPaul Betts <paul@paulbetts.org>
Wed, 21 Oct 2015 20:17:56 +0000 (13:17 -0700)
committerPaul Betts <paul@paulbetts.org>
Wed, 21 Oct 2015 20:17:56 +0000 (13:17 -0700)
atom/browser/api/atom_api_app.cc
atom/browser/api/atom_api_app.h

index 97d5cf6aa2dfb9606ca1752c060a163d344d8157..6906608fb76f7cf742bb738080a887e65daca153 100644 (file)
@@ -161,12 +161,12 @@ void App::OnWindowAllClosed() {
 
 void App::OnQuit() {
   Emit("quit");
-  
+
   if (process_singleton_.get()) {
     if (process_notify_result_ == ProcessSingleton::PROCESS_NONE) {
       process_singleton_->Cleanup();
     }
-  
+
     process_singleton_.reset();
   }
 }
@@ -195,7 +195,7 @@ void App::OnFinishLaunching() {
       AtomBrowserMainParts::Get()->browser_context());
   auto handle = Session::CreateFrom(isolate(), browser_context);
   default_session_.Reset(isolate(), handle.ToV8());
-  
+
   if (process_singleton_.get()) {
     process_singleton_->Unlock();
   }
@@ -282,14 +282,13 @@ v8::Local<v8::Value> App::DefaultSession(v8::Isolate* isolate) {
 }
 
 bool App::MakeSingleInstance(ProcessSingleton::NotificationCallback callback) {
-  
   base::FilePath userDir;
   PathService::Get(brightray::DIR_USER_DATA, &userDir);
-  
+
   if (!process_singleton_.get()) {
     auto browser = Browser::Get();
     process_singleton_.reset(new AtomProcessSingleton(userDir, callback));
-    
+
     if (browser->is_ready()) {
       process_singleton_->Unlock();
     }
index 82ae045020306ddb8b9386a4e4e6c05f2905bb68..77944d3441eafd0577a5b5edc833bf1879558f83 100644 (file)
@@ -77,7 +77,7 @@ class App : public mate::EventEmitter,
   v8::Local<v8::Value> DefaultSession(v8::Isolate* isolate);
 
   v8::Global<v8::Value> default_session_;
-  
+
   scoped_ptr<AtomProcessSingleton> process_singleton_;
   ProcessSingleton::NotifyResult process_notify_result_;