base: Use LazyInstanceTraits instead of SharedState class for discardable memory.

Switch to using LazyInstanceTraits instead of classes named SharedState
for the purpose of initializing a DiscardableMemoryManager instance
with a certain set of parameters.

BUG=422953

Review URL: https://codereview.chromium.org/650233002

Cr-Commit-Position: refs/heads/master@{#299756}


CrOS-Libchrome-Original-Commit: 31f0530105bfc993e7d949a4a33bc70bb023acb1
2 files changed
tree: a924d0808eca5887898e2847a0fcab1def5b6c34
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/