[modular] Don't auto-start embedded modules when story reinflates.

Additional clean up:
* introduce a AddModParams struct for shuffling add-module parameters
through to various places.
* rename StoryController::StartModule -> AddModuleToStory
* AddMod story command will fail with an empty mod_name. multi-element
mod_name splits into a mod_name and a parent mod.

MF-164 #done

Test=Extend 'embed_shell' integration test to restart an existing story
and see that an embedded module is not auto-started.

Change-Id: I9652369750c61d87cc344455e56de6ded9ed3848
20 files changed
tree: 2bcce63c0a04695b9e33b7f5e09a58e70eb5b1b5
  1. .clang-format
  2. .clang-tidy
  3. .gitignore
  4. AUTHORS
  5. BUILD.gn
  6. CONTRIBUTING.md
  7. LICENSE
  8. PATENTS
  9. README.md
  10. bin/
  11. boards/
  12. build/
  13. cloud/
  14. docs/
  15. examples/
  16. infra/
  17. lib/
  18. navbar.md
  19. packages/
  20. products/
  21. public/
  22. tests/
  23. third_party/
  24. web/
README.md

Peridot

Peridot is a framework for composed, intelligent and distributed user experiences.

Applications not explicitly designed to interoperate (and possibly implemented in different programming languages) are ephemerally downloaded and dynamically composed to run in a shared context. The framework manages application lifecycle, resources and view hierarchy; and well as context and suggestion infrastructure.

State of Peridot experiences is transparently synchronized across user devices using a distributed offline-first storage system.

Read more