base_features.cc 1.0 KB

12345678910111213141516171819202122232425
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "base/android/base_features.h"
  5. #include "base/feature_list.h"
  6. namespace base::android::features {
  7. // Alphabetical:
  8. // Crash the browser process if a child process is created which does not match
  9. // the browser process and the browser package appears to have changed since the
  10. // browser process was launched, so that the browser process will be started
  11. // fresh when next used, hopefully resolving the issue.
  12. const base::Feature kCrashBrowserOnChildMismatchIfBrowserChanged{
  13. "CrashBrowserOnChildMismatchIfBrowserChanged", FEATURE_DISABLED_BY_DEFAULT};
  14. // Crash the browser process if a child process is created which does not match
  15. // the browser process regardless of whether the browser package appears to have
  16. // changed.
  17. const base::Feature kCrashBrowserOnAnyChildMismatch{
  18. "CrashBrowserOnAnyChildMismatch", FEATURE_DISABLED_BY_DEFAULT};
  19. } // namespace base::android::features