[maxwell_integration] Get EnvironmentController when creating environment in StartAgent

EnvironmentController is being made a required argument for
CreateNestedEnvironment in fxr/241175. This helps ensure that
Environments aren't abandoned unintenionally and never cleaned up,
especially in tests.

This also refactors AgentLauncher::StartAgent out bin/sessionmgr, since it
is not actually used by sessionmgr currently, and into
tests/maxwell_integration's base test class, MaxwellTestBase.

Test: fx run-test maxwell_integration_tests (although it seems like
StartAgent might be dead code even in this test anyway...)

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