Lines Matching refs:chrome_exe
44 // Returns the name of the global event used to detect if |chrome_exe| is in
48 base::string16 GetEventName(const base::FilePath& chrome_exe) {
52 name.reserve(prefix_len + chrome_exe.value().size());
54 name.append(chrome_exe.value());
61 // Returns true if |chrome_exe| is in use by a browser process. In this case,
63 bool IsBrowserRunning(const base::FilePath& chrome_exe) {
65 SYNCHRONIZE, FALSE, GetEventName(chrome_exe).c_str()));
77 // |chrome_exe|.
78 bool NewChromeExeExists(const base::FilePath& chrome_exe) {
79 base::FilePath new_chrome_exe(chrome_exe.DirName().Append(kNewChromeExe));
99 void UpdateChromeIfNeeded(const base::FilePath& chrome_exe) {
103 if (IsBrowserRunning(chrome_exe) || !NewChromeExeExists(chrome_exe))
108 if (InstallUtil::IsPerUserInstall(chrome_exe.value().c_str())) {