Adding support for storing webrtc logs locally with an extension supplied unique id, for later upload.
This approach has two new methods:
* store() - allows the application to specify an ID for the log file that will be stored locally, but not uploaded. The file can be stored for up to 5 days.
* uploadStored() - allows the application to upload a previously stored log file.
Refactoring the code for less copy/paste.
BUG=
459750
Committed:
https://crrev.com/ea8bd3ec56864669aafd76247f2e0f7b0160b590
Cr-Commit-Position: refs/heads/master@{#317309}