Don't crash when logging if CommandLine is uninitialized.

The base::CommandLine singleton is usually initialized from
main(), but some gtest-based unit tests don't have control
over that function. Guard CommandLine accesses in
base/logging.cc to handle this gracefully.

Bug: 24536569
Change-Id: If3eab0f36c28bb6b3cf3569c61c7d7cec5cf7b10

(Reconstructed from b8c214021901c7f18bf76f1fdb4cec6e8cf8db49)
1 file changed
tree: f6f8169a4d4f8c0eb71011f522405bf70c890993
  1. base/
  2. build/
  3. components/
  4. crypto/
  5. dbus/
  6. device/
  7. ipc/
  8. libchrome_tools/
  9. mojo/
  10. soong/
  11. testing/
  12. third_party/
  13. ui/
  14. .gitignore
  15. Android.bp
  16. BUILD.gn
  17. BUILD.IGNORE
  18. MODULE_LICENSE_BSD
  19. NOTICE
  20. OWNERS
  21. PRESUBMIT.cfg
  22. README.md
  23. testrunner.cc
README.md

libchrome

Overview

This directory includes the source from Chrome's libbase for use in Chrome OS.

See libchrome.md for more info.