DescriptionMake telemetry platform a singleton
Previously, platform backends were singletons [per platform] but the platform
object itself was created and destroyed by the browser. Moreover, the current OS backend was publicly accessible.
This patch tightens up the lifecycle of platforms, making the host platform
an explicit singleton, and target platforms singletons owned by their finder.
And, the platform backend is no longer exposed. Sadly, three corner cases exist:
a memory test case and the actual desktop-based browser finders.
R=tonyg
BUG=356763
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287739
Patch Set 1 #
Total comments: 5
Patch Set 2 : Cleaned up #Patch Set 3 : Wow the video capture code is hacky #Patch Set 4 : With yet more fixes for damn video test #Patch Set 5 : rebase #Patch Set 6 : rebase_again #Messages
Total messages: 28 (0 generated)
|