Commit 665d3437 authored by Jun Cai's avatar Jun Cai Committed by Commit Bot

Convert base::Bind and base::Callback in //chrome/app to Once or Repeating

This CL converts base::Bind and base::Callback in //chrome/app to Once
or Repeating

Bug: 1007634
Change-Id: Ie12853158482a1d16e8074dc3eeaf98f1e610d48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067453Reviewed-by: default avatarKen Rockot <rockot@google.com>
Commit-Queue: Jun Cai <juncai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743312}
parent 57c401a7
...@@ -66,8 +66,8 @@ int ChromeMain(int argc, const char** argv) { ...@@ -66,8 +66,8 @@ int ChromeMain(int argc, const char** argv) {
// The process should crash when going through abnormal termination, but we // The process should crash when going through abnormal termination, but we
// must be sure to reset this setting when ChromeMain returns normally. // must be sure to reset this setting when ChromeMain returns normally.
auto crash_on_detach_resetter = base::ScopedClosureRunner( auto crash_on_detach_resetter = base::ScopedClosureRunner(
base::Bind(&base::win::SetShouldCrashOnProcessDetach, base::BindOnce(&base::win::SetShouldCrashOnProcessDetach,
base::win::ShouldCrashOnProcessDetach())); base::win::ShouldCrashOnProcessDetach()));
base::win::SetShouldCrashOnProcessDetach(true); base::win::SetShouldCrashOnProcessDetach(true);
base::win::SetAbortBehaviorForCrashReporting(); base::win::SetAbortBehaviorForCrashReporting();
params.instance = instance; params.instance = instance;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment