tree: 92b1f9f4b489f2fa7670bb71d73bd5da2bb897a4 [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. OWNERS
  4. README.md
  5. com_server_module.cc
  6. com_server_module.h
  7. com_server_module_unittest.cc
  8. notification_activator.cc
  9. notification_activator.h
  10. notification_helper.cc
  11. notification_helper.rc
  12. notification_helper_crash_reporter_client.cc
  13. notification_helper_crash_reporter_client.h
  14. notification_helper_exe.ver
  15. notification_helper_process_unittest.cc
  16. notification_helper_util.cc
  17. notification_helper_util.h
  18. run_all_unittests.cc
  19. trace_util.cc
  20. trace_util.h
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.