tree: be2cdfbfdf5455d7e0ea4a3c4f69e0d0f353afeb [path history] [tgz]
  1. BUILD.gn
  2. com_server_module.cc
  3. com_server_module.h
  4. com_server_module_unittest.cc
  5. DEPS
  6. DIR_METADATA
  7. notification_activator.cc
  8. notification_activator.h
  9. notification_helper.cc
  10. notification_helper.rc
  11. notification_helper_constants.cc
  12. notification_helper_constants.h
  13. notification_helper_crash_reporter_client.cc
  14. notification_helper_crash_reporter_client.h
  15. notification_helper_exe.ver
  16. notification_helper_process_unittest.cc
  17. notification_helper_util.cc
  18. notification_helper_util.h
  19. OWNERS
  20. README.md
  21. run_all_unittests.cc
  22. trace_util.cc
  23. trace_util.h
chrome/notification_helper/README.md

This directory contains the code for a COM server to handle native notification activation. This code is compiled in an executable named notification_helper.exe.

This is a standalone executable. It launches Chrome using a certain command line.

This executable is designed to be launched by COM only. It is launched when a toast is activated from the Windows Action Center. Once running, the process registers the NotificationActivator class object to a COM module. This allows COM to create the object and call its Activate() method to handle toast activation when required. Once COM finishes the work, the NotificationActivator class is unregistered from the module. The process then exits.

A NotificationActivator's CLSID depends on its Chrome channel, allowing different NotificationActivators to be created per Chrome channel.