]> khamidou — GitHub mirrors - electron.git/commitdiff
Start to remove / rearrange some header files
authorPaul Betts <paul@paulbetts.org>
Mon, 19 Oct 2015 18:28:29 +0000 (11:28 -0700)
committerPaul Betts <paul@paulbetts.org>
Tue, 20 Oct 2015 20:14:05 +0000 (13:14 -0700)
atom/browser/process_singleton.h
atom/browser/process_singleton_posix.cc
atom/browser/process_singleton_startup_lock.cc
atom/browser/process_singleton_startup_lock.h
atom/browser/process_singleton_win.cc

index 3260c4ef240cc0c07574840777051a3c5ce44ef0..451414613eb1e044d57c2938359385b2199099f1 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef CHROME_BROWSER_PROCESS_SINGLETON_H_
 #define CHROME_BROWSER_PROCESS_SINGLETON_H_
 
-#include "build/build_config.h"
-
 #if defined(OS_WIN)
 #include <windows.h>
 #endif  // defined(OS_WIN)
index 81a5c5fec355cc1d535300b452b3bb5ea4259b57..b7ebd2de58b5f7240131afd5f7ed110c31c3d683 100644 (file)
@@ -37,7 +37,7 @@
 // retrieves the process id from the symbol link and kills it by sending
 // SIGKILL. Then the second process starts as normal.
 
-#include "chrome/browser/process_singleton.h"
+#include "process_singleton.h"
 
 #include <errno.h>
 #include <fcntl.h>
 #include "base/threading/platform_thread.h"
 #include "base/time/time.h"
 #include "base/timer/timer.h"
-#include "chrome/common/chrome_constants.h"
-#include "chrome/grit/chromium_strings.h"
-#include "chrome/grit/generated_resources.h"
 #include "content/public/browser/browser_thread.h"
 #include "net/base/net_util.h"
 #include "ui/base/l10n/l10n_util.h"
 
-#if defined(OS_LINUX)
-#include "chrome/browser/ui/process_singleton_dialog_linux.h"
-#endif
-
-#if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
-#include "ui/views/linux_ui/linux_ui.h"
-#endif
-
 using content::BrowserThread;
 
 namespace {
index f564de7dca4da21c89b560512f13e31ad90484b5..58d0fd1231ca9a3692bad666f9a840158c2a2475 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "chrome/browser/process_singleton_startup_lock.h"
+#include "process_singleton_startup_lock.h"
 
 #include "base/bind.h"
 #include "base/logging.h"
index 187dd35bce3d95a15b1008331a86f5702665871a..2e8c9754997d5debcecf3dabdc08f0bade525f15 100644 (file)
@@ -13,7 +13,7 @@
 #include "base/command_line.h"
 #include "base/files/file_path.h"
 #include "base/threading/non_thread_safe.h"
-#include "chrome/browser/process_singleton.h"
+#include "process_singleton.h"
 
 // Provides a ProcessSingleton::NotificationCallback that can queue up
 // command-line invocations during startup and execute them when startup
index 623aa7f42f7fa58e7de77cc2f816b7b33ddf4484..95a5b7d9bb05573ce72004d8fa354cda4cb23e1a 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "chrome/browser/process_singleton.h"
+#include "process_singleton.h"
 
 #include <shellapi.h>
 
 #include "base/win/registry.h"
 #include "base/win/scoped_handle.h"
 #include "base/win/windows_version.h"
-#include "chrome/browser/browser_process.h"
-#include "chrome/browser/browser_process_platform_part.h"
-#include "chrome/browser/chrome_process_finder_win.h"
-#include "chrome/browser/metro_utils/metro_chrome_win.h"
-#include "chrome/browser/shell_integration.h"
-#include "chrome/browser/ui/simple_message_box.h"
-#include "chrome/common/chrome_constants.h"
-#include "chrome/common/chrome_paths.h"
-#include "chrome/common/chrome_paths_internal.h"
-#include "chrome/common/chrome_switches.h"
-#include "chrome/grit/chromium_strings.h"
-#include "chrome/installer/util/wmi.h"
+//#include "chrome/browser/browser_process.h"
+//#include "chrome/browser/browser_process_platform_part.h"
+#include "chrome_process_finder_win.h"   // TODO: Pull this in
+//#include "chrome/browser/shell_integration.h"  // TODO: Maybe pull this in?
 #include "content/public/common/result_codes.h"
 #include "net/base/escape.h"
 #include "ui/base/l10n/l10n_util.h"