blob: 3a2436151de485473127aa8f5f0b2f481b421c6e [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2012 The Chromium Authors
[email protected]bc38c252011-04-12 21:46:572// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Daniel Cheng7d9e3d52022-02-26 09:03:245#include "chrome/browser/first_run/upgrade_util_win.h"
[email protected]bc38c252011-04-12 21:46:576
Takuto Ikutac8d6b16f2024-04-15 16:59:197#include <objbase.h>
8
[email protected]770c6d82012-09-06 22:21:329#include <windows.h>
Nico Webereaa08412019-08-14 01:24:3710
[email protected]fdbea98d2014-05-16 19:29:2011#include <psapi.h>
[email protected]770c6d82012-09-06 22:21:3212#include <shellapi.h>
Robert Liaob2bc703d2017-10-17 20:52:3513#include <wrl/client.h>
[email protected]770c6d82012-09-06 22:21:3214
[email protected]bc38c252011-04-12 21:46:5715#include <algorithm>
Greg Thompsona1f95122019-01-31 22:46:4516#include <ios>
[email protected]bc38c252011-04-12 21:46:5717#include <string>
18
19#include "base/base_paths.h"
Etienne Bergeron7a0ef612023-09-15 18:28:0820#include "base/check.h"
[email protected]bc38c252011-04-12 21:46:5721#include "base/command_line.h"
[email protected]57999812013-02-24 05:40:5222#include "base/files/file_path.h"
thestig18dfb7a52014-08-26 10:44:0423#include "base/files/file_util.h"
S. Ganeshcad45032024-07-18 17:43:1124#include "base/functional/bind.h"
[email protected]bc38c252011-04-12 21:46:5725#include "base/logging.h"
S. Ganeshcad45032024-07-18 17:43:1126#include "base/memory/ref_counted.h"
27#include "base/memory/scoped_refptr.h"
S. Ganesh48540862024-08-12 18:09:3928#include "base/metrics/histogram_functions.h"
[email protected]bc38c252011-04-12 21:46:5729#include "base/path_service.h"
[email protected]d09a4ce1c2013-07-24 17:37:0230#include "base/process/launch.h"
31#include "base/process/process_handle.h"
[email protected]3ea1b182013-02-08 22:38:4132#include "base/strings/string_number_conversions.h"
[email protected]d8830562013-06-10 22:01:5433#include "base/strings/string_util.h"
S. Ganeshcad45032024-07-18 17:43:1134#include "base/synchronization/waitable_event.h"
35#include "base/task/sequenced_task_runner.h"
36#include "base/task/task_traits.h"
37#include "base/task/thread_pool.h"
Gabriel Charette12b58ac2021-09-22 18:08:5538#include "base/time/time.h"
S. Ganesh48540862024-08-12 18:09:3939#include "base/timer/elapsed_timer.h"
Gabriel Charette12b58ac2021-09-22 18:08:5540#include "base/trace_event/trace_event.h"
S. Ganesh48540862024-08-12 18:09:3941#include "base/values.h"
[email protected]bc38c252011-04-12 21:46:5742#include "base/win/registry.h"
[email protected]770c6d82012-09-06 22:21:3243#include "base/win/windows_version.h"
Nico Webereaa08412019-08-14 01:24:3744#include "build/branding_buildflags.h"
ananta069fc882014-09-13 01:22:1245#include "chrome/browser/browser_process.h"
Etienne Bergeron7a0ef612023-09-15 18:28:0846#include "chrome/browser/chrome_process_singleton.h"
Daniel Cheng7d9e3d52022-02-26 09:03:2447#include "chrome/browser/first_run/upgrade_util.h"
[email protected]3f69d6e612012-08-03 18:52:2748#include "chrome/browser/shell_integration.h"
Javier Flores Assad9c26f9b92022-05-21 01:20:4349#include "chrome/browser/win/browser_util.h"
[email protected]80274b92011-07-15 17:20:3850#include "chrome/common/chrome_switches.h"
ananta069fc882014-09-13 01:22:1251#include "chrome/common/pref_names.h"
grt4474dad2017-02-27 21:00:4652#include "chrome/install_static/install_util.h"
S. Ganeshf77e2a52022-11-22 18:40:1953#include "chrome/installer/util/app_command.h"
S. Ganesh48540862024-08-12 18:09:3954#include "chrome/installer/util/per_install_values.h"
[email protected]bc38c252011-04-12 21:46:5755#include "chrome/installer/util/util_constants.h"
brettwb1fc1b82016-02-02 00:19:0856#include "components/prefs/pref_service.h"
S. Ganeshcad45032024-07-18 17:43:1157#include "third_party/abseil-cpp/absl/cleanup/cleanup.h"
ananta069fc882014-09-13 01:22:1258#include "ui/base/ui_base_switches.h"
[email protected]bc38c252011-04-12 21:46:5759
Nico Webereaa08412019-08-14 01:24:3760#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
S. Ganesh6adf04c2023-06-07 19:34:5561#include "chrome/updater/app/server/win/updater_legacy_idl.h"
grt235b3f092015-05-27 21:42:4862#endif
63
[email protected]bc38c252011-04-12 21:46:5764namespace {
65
[email protected]650b2d52013-02-10 03:41:4566bool GetNewerChromeFile(base::FilePath* path) {
Avi Drissman9098f9002018-05-04 00:11:5267 if (!base::PathService::Get(base::DIR_EXE, path))
[email protected]bc38c252011-04-12 21:46:5768 return false;
69 *path = path->Append(installer::kChromeNewExe);
70 return true;
71}
72
S. Ganeshcad45032024-07-18 17:43:1173#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
74// Holds the result of the IPC to CoCreate the process launcher.
75struct CreateProcessLauncherResult
76 : public base::RefCountedThreadSafe<CreateProcessLauncherResult> {
77 Microsoft::WRL::ComPtr<IStream> stream;
78 base::WaitableEvent completion_event;
79
80 private:
81 friend class base::RefCountedThreadSafe<CreateProcessLauncherResult>;
82 virtual ~CreateProcessLauncherResult() = default;
83};
84
85// CoCreates the `ProcessLauncher` class, and if successful, marshals the
86// resulting interface into `result->stream`. Signals `result->completion_event`
87// on successful or failed completion.
88void CreateAndMarshalProcessLauncher(
89 scoped_refptr<CreateProcessLauncherResult> result) {
90 const absl::Cleanup signal_completion_event = [&result] {
91 result->completion_event.Signal();
92 };
93
94 Microsoft::WRL::ComPtr<IUnknown> unknown;
95 {
96 TRACE_EVENT0("startup", "InvokeGoogleUpdateForRename CoCreateInstance");
97 const HRESULT hr =
98 ::CoCreateInstance(__uuidof(ProcessLauncherClass), nullptr, CLSCTX_ALL,
99 IID_PPV_ARGS(&unknown));
100 if (FAILED(hr)) {
101 TRACE_EVENT_INSTANT1(
102 "startup", "InvokeGoogleUpdateForRename CoCreateInstance failed",
103 TRACE_EVENT_SCOPE_THREAD, "hr", hr);
104 LOG(ERROR) << "CoCreate ProcessLauncherClass failed; hr = " << std::hex
105 << hr;
106 return;
107 }
108 }
S. Ganeshcad45032024-07-18 17:43:11109 const HRESULT hr = ::CoMarshalInterThreadInterfaceInStream(
110 __uuidof(IUnknown), unknown.Get(), &result->stream);
111 if (FAILED(hr)) {
112 TRACE_EVENT_INSTANT1("startup",
113 "InvokeGoogleUpdateForRename "
114 "CoMarshalInterThreadInterfaceInStream failed",
115 TRACE_EVENT_SCOPE_THREAD, "hr", hr);
116 LOG(ERROR) << "CoMarshalInterThreadInterfaceInStream "
117 "ProcessLauncherClass failed; hr = "
118 << std::hex << hr;
119 }
120}
121
122// CoCreates the Google Update `ProcessLauncherClass` in a `ThreadPool` thread
S. Ganesh48540862024-08-12 18:09:39123// with a timeout, if the `ThreadPool` is operational. The starting value for
124// the timeout is 15 seconds. If the CoCreate times out, the timeout is
125// increased by 15 seconds at each failed attempt and persisted for the next
126// attempt.
127//
128// If the `ThreadPool` is not operational, the CoCreate is done
S. Ganeshcad45032024-07-18 17:43:11129// without a timeout.
S. Ganeshcad45032024-07-18 17:43:11130Microsoft::WRL::ComPtr<IUnknown> CreateProcessLauncher() {
S. Ganesh48540862024-08-12 18:09:39131 constexpr int kDefaultTimeoutIncrementSeconds = 15;
132
S. Ganeshcad45032024-07-18 17:43:11133 auto result = base::MakeRefCounted<CreateProcessLauncherResult>();
134 if (base::ThreadPool::CreateCOMSTATaskRunner(
135 {base::MayBlock(), base::TaskPriority::USER_BLOCKING})
136 ->PostTask(FROM_HERE, base::BindOnce(&CreateAndMarshalProcessLauncher,
137 result))) {
S. Ganesh48540862024-08-12 18:09:39138 installer::PerInstallValue creation_timeout(
139 L"ProcessLauncherCreationTimeout");
140 const base::TimeDelta timeout = base::Seconds(
141 creation_timeout.Get()
142 .value_or(base::Value(kDefaultTimeoutIncrementSeconds))
143 .GetIfInt()
144 .value_or(kDefaultTimeoutIncrementSeconds));
145 const base::ElapsedTimer timer;
146 if (!result->completion_event.TimedWait(timeout)) {
147 base::UmaHistogramMediumTimes(
148 "Startup.CreateProcessLauncher.TimedWaitFailed", timer.Elapsed());
149 creation_timeout.Set(base::Value(static_cast<int>(timeout.InSeconds()) +
150 kDefaultTimeoutIncrementSeconds));
S. Ganeshcad45032024-07-18 17:43:11151 TRACE_EVENT_INSTANT0(
152 "startup", "InvokeGoogleUpdateForRename CoCreateInstance timed out",
153 TRACE_EVENT_SCOPE_THREAD);
154 LOG(ERROR) << "CoCreate ProcessLauncherClass timed out";
155 return {};
156 }
157
158 if (!result->stream) {
159 return {};
160 }
S. Ganesh48540862024-08-12 18:09:39161 base::UmaHistogramMediumTimes(
162 "Startup.CreateProcessLauncher.TimedWaitSucceeded", timer.Elapsed());
S. Ganeshcad45032024-07-18 17:43:11163
164 Microsoft::WRL::ComPtr<IUnknown> unknown;
165 const HRESULT hr =
166 ::CoUnmarshalInterface(result->stream.Get(), __uuidof(IUnknown),
167 IID_PPV_ARGS_Helper(&unknown));
168 if (FAILED(hr)) {
169 TRACE_EVENT_INSTANT1(
170 "startup", "InvokeGoogleUpdateForRename CoUnmarshalInterface failed",
171 TRACE_EVENT_SCOPE_THREAD, "hr", hr);
172 LOG(ERROR) << "CoUnmarshalInterface ProcessLauncherClass failed; hr = "
173 << std::hex << hr;
174 return {};
175 }
176
177 return unknown;
178 }
179
180 // The task could not be posted to the task runner, so CoCreate without a
181 // timeout. This could happen in shutdown, where the `ThreadPool` is not
182 // operational.
183 {
184 TRACE_EVENT0("startup", "InvokeGoogleUpdateForRename CoCreateInstance");
185 Microsoft::WRL::ComPtr<IUnknown> unknown;
186 const HRESULT hr =
187 ::CoCreateInstance(__uuidof(ProcessLauncherClass), nullptr, CLSCTX_ALL,
188 IID_PPV_ARGS(&unknown));
189 if (FAILED(hr)) {
190 TRACE_EVENT_INSTANT1(
191 "startup", "InvokeGoogleUpdateForRename CoCreateInstance failed",
192 TRACE_EVENT_SCOPE_THREAD, "hr", hr);
193 LOG(ERROR) << "CoCreate ProcessLauncherClass failed; hr = " << std::hex
194 << hr;
195 return {};
196 }
197
198 return unknown;
199 }
200}
201#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
202
[email protected]bc38c252011-04-12 21:46:57203bool InvokeGoogleUpdateForRename() {
Nico Webereaa08412019-08-14 01:24:37204#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
Gabriel Charettef7e85712021-12-10 20:46:22205 // This has been identified as very slow on some startups. Detailed trace
206 // events below try to shine a light on each steps. crbug.com/1252004
Gabriel Charette12b58ac2021-09-22 18:08:55207 TRACE_EVENT0("startup", "upgrade_util::InvokeGoogleUpdateForRename");
208
S. Ganeshcad45032024-07-18 17:43:11209 Microsoft::WRL::ComPtr<IUnknown> unknown = CreateProcessLauncher();
210 if (!unknown) {
211 return false;
212 }
213
S. Ganeshea7ef0872024-03-21 16:28:32214 // Chrome queries for the SxS IIDs first, with a fallback to the legacy IID,
215 // to make sure that marshaling loads the proxy/stub from the correct (HKLM)
216 // hive.
Robert Liaob2bc703d2017-10-17 20:52:35217 Microsoft::WRL::ComPtr<IProcessLauncher> ipl;
Gabriel Charettef7e85712021-12-10 20:46:22218 {
S. Ganeshcad45032024-07-18 17:43:11219 HRESULT hr = unknown.CopyTo(__uuidof(IProcessLauncherSystem),
220 IID_PPV_ARGS_Helper(&ipl));
S. Ganeshea7ef0872024-03-21 16:28:32221 if (FAILED(hr)) {
222 hr = unknown.As(&ipl);
223 }
224 if (FAILED(hr)) {
225 TRACE_EVENT0("startup",
226 "InvokeGoogleUpdateForRename QueryInterface failed");
227 LOG(ERROR) << "QueryInterface failed; hr = " << std::hex << hr;
228 return false;
229 }
[email protected]bc38c252011-04-12 21:46:57230 }
Greg Thompsona1f95122019-01-31 22:46:45231
S. Ganesh74432c12022-11-02 06:35:34232 ULONG_PTR process_handle = 0;
Gabriel Charettef7e85712021-12-10 20:46:22233 {
234 TRACE_EVENT0("startup", "InvokeGoogleUpdateForRename LaunchCmdElevated");
Dominique Fauteux-Chapleau269cabf2021-12-10 22:10:31235 HRESULT hr = ipl->LaunchCmdElevated(
S. Ganeshf77e2a52022-11-22 18:40:19236 install_static::GetAppGuid(), installer::kCmdRenameChromeExe,
Dominique Fauteux-Chapleau269cabf2021-12-10 22:10:31237 ::GetCurrentProcessId(), &process_handle);
Gabriel Charettef7e85712021-12-10 20:46:22238 if (FAILED(hr)) {
239 TRACE_EVENT0("startup",
240 "InvokeGoogleUpdateForRename LaunchCmdElevated failed");
241 LOG(ERROR) << "IProcessLauncher::LaunchCmdElevated failed; hr = "
242 << std::hex << hr;
243 return false;
244 }
Greg Thompsona1f95122019-01-31 22:46:45245 }
246
247 base::Process rename_process(
248 reinterpret_cast<base::ProcessHandle>(process_handle));
249 int exit_code;
Gabriel Charettef7e85712021-12-10 20:46:22250 {
251 TRACE_EVENT0("startup", "InvokeGoogleUpdateForRename WaitForExit");
252 if (!rename_process.WaitForExit(&exit_code)) {
253 TRACE_EVENT0("startup", "InvokeGoogleUpdateForRename WaitForExit failed");
254 PLOG(ERROR) << "WaitForExit of rename process failed";
255 return false;
256 }
Greg Thompsona1f95122019-01-31 22:46:45257 }
258
259 if (exit_code != installer::RENAME_SUCCESSFUL) {
Gabriel Charettef7e85712021-12-10 20:46:22260 TRACE_EVENT0("startup", "InvokeGoogleUpdateForRename !RENAME_SUCCESSFUL");
Greg Thompsona1f95122019-01-31 22:46:45261 LOG(ERROR) << "Rename process failed with exit code " << exit_code;
262 return false;
263 }
264
Gabriel Charette334775a2021-12-13 18:57:26265 TRACE_EVENT0("startup", "InvokeGoogleUpdateForRename RENAME_SUCCESSFUL");
266
Greg Thompsona1f95122019-01-31 22:46:45267 return true;
Nico Webereaa08412019-08-14 01:24:37268#else // BUILDFLAG(GOOGLE_CHROME_BRANDING)
[email protected]bc38c252011-04-12 21:46:57269 return false;
Nico Webereaa08412019-08-14 01:24:37270#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
[email protected]bc38c252011-04-12 21:46:57271}
272
273} // namespace
274
[email protected]815856722011-04-13 17:19:19275namespace upgrade_util {
276
Greg Thompson87ee38f2019-08-09 06:00:23277bool RelaunchChromeBrowserImpl(const base::CommandLine& command_line) {
Gabriel Charette12b58ac2021-09-22 18:08:55278 TRACE_EVENT0("startup", "upgrade_util::RelaunchChromeBrowserImpl");
279
[email protected]650b2d52013-02-10 03:41:45280 base::FilePath chrome_exe;
Avi Drissman9098f9002018-05-04 00:11:52281 if (!base::PathService::Get(base::FILE_EXE, &chrome_exe)) {
Peter Boström3e79afa2024-05-15 00:49:26282 NOTREACHED_IN_MIGRATION();
[email protected]3f69d6e612012-08-03 18:52:27283 return false;
284 }
285
[email protected]fdbea98d2014-05-16 19:29:20286 // Explicitly make sure to relaunch chrome.exe rather than old_chrome.exe.
287 // This can happen when old_chrome.exe is launched by a user.
avi556c05022014-12-22 23:31:43288 base::CommandLine chrome_exe_command_line = command_line;
[email protected]fdbea98d2014-05-16 19:29:20289 chrome_exe_command_line.SetProgram(
290 chrome_exe.DirName().Append(installer::kChromeExe));
291
scottmg20920cb2016-04-07 16:23:59292 // Set the working directory to the exe's directory. This avoids a handle to
293 // the version directory being kept open in the relaunched child process.
294 base::LaunchOptions launch_options;
295 launch_options.current_directory = chrome_exe.DirName();
Greg Thompson47faf202018-05-18 20:59:03296 // Give the new process the right to bring its windows to the foreground.
297 launch_options.grant_foreground_privilege = true;
scottmg20920cb2016-04-07 16:23:59298 return base::LaunchProcess(chrome_exe_command_line, launch_options).IsValid();
[email protected]815856722011-04-13 17:19:19299}
300
301bool IsUpdatePendingRestart() {
Gabriel Charette12b58ac2021-09-22 18:08:55302 TRACE_EVENT0("startup", "upgrade_util::IsUpdatePendingRestart");
[email protected]650b2d52013-02-10 03:41:45303 base::FilePath new_chrome_exe;
[email protected]815856722011-04-13 17:19:19304 if (!GetNewerChromeFile(&new_chrome_exe))
305 return false;
[email protected]7567484142013-07-11 17:36:07306 return base::PathExists(new_chrome_exe);
[email protected]815856722011-04-13 17:19:19307}
308
[email protected]815856722011-04-13 17:19:19309bool SwapNewChromeExeIfPresent() {
grtb35a90b2016-08-30 05:34:21310 if (!IsUpdatePendingRestart())
[email protected]bc38c252011-04-12 21:46:57311 return false;
grtb35a90b2016-08-30 05:34:21312
Gabriel Charette12b58ac2021-09-22 18:08:55313 TRACE_EVENT0("startup", "upgrade_util::SwapNewChromeExeIfPresent");
314
Etienne Bergeron7a0ef612023-09-15 18:28:08315 // Renaming the chrome executable requires the process singleton to avoid
316 // any race condition.
317 CHECK(ChromeProcessSingleton::IsSingletonInstance());
318
fdoraye9c97a02016-10-04 12:05:16319 // If this is a system-level install, ask Google Update to launch an elevated
320 // process to rename Chrome executables.
Greg Thompsond2efb1f2018-08-29 06:12:54321 if (install_static::IsSystemInstall())
fdoraye9c97a02016-10-04 12:05:16322 return InvokeGoogleUpdateForRename();
[email protected]bc38c252011-04-12 21:46:57323
fdoraye9c97a02016-10-04 12:05:16324 // If this is a user-level install, directly launch a process to rename Chrome
325 // executables. Obtain the command to launch the process from the registry.
S. Ganeshf77e2a52022-11-22 18:40:19326 installer::AppCommand rename_cmd(installer::kCmdRenameChromeExe, {});
327 if (!rename_cmd.Initialize(HKEY_CURRENT_USER))
Greg Thompsona1f95122019-01-31 22:46:45328 return false;
Greg Thompsona1f95122019-01-31 22:46:45329
330 base::LaunchOptions options;
331 options.wait = true;
332 options.start_hidden = true;
333 ::SetLastError(ERROR_SUCCESS);
S. Ganeshf77e2a52022-11-22 18:40:19334 base::Process process =
335 base::LaunchProcess(rename_cmd.command_line(), options);
Greg Thompsona1f95122019-01-31 22:46:45336 if (!process.IsValid()) {
337 PLOG(ERROR) << "Launch rename process failed";
338 return false;
339 }
340
341 DWORD exit_code;
342 if (!::GetExitCodeProcess(process.Handle(), &exit_code)) {
343 PLOG(ERROR) << "GetExitCodeProcess of rename process failed";
344 return false;
345 }
346
347 if (exit_code != installer::RENAME_SUCCESSFUL) {
348 LOG(ERROR) << "Rename process failed with exit code " << exit_code;
349 return false;
350 }
351
352 return true;
[email protected]bc38c252011-04-12 21:46:57353}
354
[email protected]fdbea98d2014-05-16 19:29:20355bool IsRunningOldChrome() {
Gabriel Charette12b58ac2021-09-22 18:08:55356 TRACE_EVENT0("startup", "upgrade_util::IsRunningOldChrome");
[email protected]fdbea98d2014-05-16 19:29:20357 // This figures out the actual file name that the section containing the
358 // mapped exe refers to. This is used instead of GetModuleFileName because the
359 // .exe may have been renamed out from under us while we've been running which
360 // GetModuleFileName won't notice.
361 wchar_t mapped_file_name[MAX_PATH * 2] = {};
362
363 if (!::GetMappedFileName(::GetCurrentProcess(),
364 reinterpret_cast<void*>(::GetModuleHandle(NULL)),
Daniel Cheng7d9e3d52022-02-26 09:03:24365 mapped_file_name, std::size(mapped_file_name))) {
[email protected]fdbea98d2014-05-16 19:29:20366 return false;
367 }
368
369 base::FilePath file_name(base::FilePath(mapped_file_name).BaseName());
370 return base::FilePath::CompareEqualIgnoreCase(file_name.value(),
371 installer::kChromeOldExe);
372}
373
avi556c05022014-12-22 23:31:43374bool DoUpgradeTasks(const base::CommandLine& command_line) {
Gabriel Charette12b58ac2021-09-22 18:08:55375 TRACE_EVENT0("startup", "upgrade_util::DoUpgradeTasks");
Javier Flores Assad9c26f9b92022-05-21 01:20:43376 // If there is no other instance already running then check if there is a
377 // pending update and complete it by performing the swap and then relaunch.
Etienne Bergeron7a0ef612023-09-15 18:28:08378
379 // Upgrade tasks require the process singleton to avoid any race condition.
380 CHECK(ChromeProcessSingleton::IsSingletonInstance());
381
Javier Flores Assad9c26f9b92022-05-21 01:20:43382 bool did_swap = false;
383 if (!browser_util::IsBrowserAlreadyRunning())
384 did_swap = SwapNewChromeExeIfPresent();
385
386 // We don't need to relaunch if we didn't swap and we aren't running stale
387 // binaries.
388 if (!did_swap && !IsRunningOldChrome()) {
[email protected]bc38c252011-04-12 21:46:57389 return false;
Gabriel Charette12b58ac2021-09-22 18:08:55390 }
Javier Flores Assad9c26f9b92022-05-21 01:20:43391
[email protected]bc38c252011-04-12 21:46:57392 // At this point the chrome.exe has been swapped with the new one.
Wissem Gamra8e67a95d2023-03-17 17:41:21393 if (!RelaunchChromeBrowser(command_line)) {
Javier Flores Assad9c26f9b92022-05-21 01:20:43394 // The relaunch failed. Feel free to panic now.
Peter Boström3e79afa2024-05-15 00:49:26395 NOTREACHED_IN_MIGRATION();
[email protected]bc38c252011-04-12 21:46:57396 }
397 return true;
398}
399
[email protected]815856722011-04-13 17:19:19400} // namespace upgrade_util