summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run/upgrade_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/first_run/upgrade_util.h')
-rw-r--r--chrome/browser/first_run/upgrade_util.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/chrome/browser/first_run/upgrade_util.h b/chrome/browser/first_run/upgrade_util.h
index 322073c..89302b2 100644
--- a/chrome/browser/first_run/upgrade_util.h
+++ b/chrome/browser/first_run/upgrade_util.h
@@ -6,14 +6,8 @@
#define CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_H_
#pragma once
-#include "build/build_config.h"
-
class CommandLine;
-#if defined(OS_WIN)
-class ProcessSingleton;
-#endif
-
namespace upgrade_util {
void SetNewCommandLine(CommandLine* new_command_line);
@@ -33,34 +27,6 @@ bool RelaunchChromeBrowser(const CommandLine& command_line);
// running instance.
bool IsUpdatePendingRestart();
-#if defined(OS_WIN)
-// Check if current chrome.exe is already running as a browser process by
-// trying to create a Global event with name same as full path of chrome.exe.
-// This method caches the handle to this event so on subsequent calls also
-// it can first close the handle and check for any other process holding the
-// handle to the event.
-bool IsBrowserAlreadyRunning();
-
-// If the new_chrome.exe exists (placed by the installer then is swapped
-// to chrome.exe and the old chrome is renamed to old_chrome.exe. If there
-// is no new_chrome.exe or the swap fails the return is false;
-bool SwapNewChromeExeIfPresent();
-
-// Combines the two methods, RelaunchChromeBrowser and
-// SwapNewChromeExeIfPresent, to perform the rename and relaunch of
-// the browser. Note that relaunch does NOT exit the existing browser process.
-// If this is called before message loop is executed, simply exit the main
-// function. If browser is already running, you will need to exit it.
-bool DoUpgradeTasks(const CommandLine& command_line);
-
-#endif // OS_WIN
-
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
-void SaveLastModifiedTimeOfExe();
-
-double GetLastModifiedTimeOfExe();
-#endif
-
} // namespace upgrade_util
#endif // CHROME_BROWSER_FIRST_RUN_UPGRADE_UTIL_H_