tree: 8934d0caba5462fb09523d8914110bdccf884dd6 [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. notification_activator.cc
  7. notification_activator.h
  8. notification_helper.cc
  9. notification_helper.rc
  10. notification_helper_constants.cc
  11. notification_helper_constants.h
  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. OWNERS
  19. README.md
  20. run_all_unittests.cc
  21. trace_util.cc
  22. 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.