Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Issue 927233005: Adding support for storing webrtc logs locally with an extension supplied unique id, for later uplo… (Closed)

Created:
5 years, 10 months ago by tommi (sloooow) - chröme
Modified:
5 years, 10 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, posciak+watch_chromium.org, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Patch Set 2 : Refactor the function classes a bit #

Patch Set 3 : Refactored quite a bit. One more test running, storing the native log now. #

Patch Set 4 : Tons of refactoring to be able to reuse the uploading code for stored logs/metadata #

Patch Set 5 : Remove unused param #

Patch Set 6 : Update unit_tests target #

Patch Set 7 : Upload test passing #

Patch Set 8 : Add support for rtp dumps #

Patch Set 9 : Add support for meta data #

Patch Set 10 : Rebase #

Patch Set 11 : Remove leftover comments #

Patch Set 12 : Change how we read from WebRtcLogBuffer #

Patch Set 13 : Rebase #

Total comments: 10

Patch Set 14 : Address comments #

Patch Set 15 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+976 lines, -624 lines) Patch
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.h View 1 2 3 3 chunks +91 lines, -44 lines 0 comments Download
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +126 lines, -169 lines 0 comments Download
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api_stub.cc View 1 2 2 chunks +10 lines, -69 lines 0 comments Download
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc View 1 2 3 4 5 6 7 8 4 chunks +235 lines, -169 lines 0 comments Download
M chrome/browser/media/webrtc_log_uploader.h View 1 2 3 4 5 6 7 4 chunks +26 lines, -13 lines 0 comments Download
M chrome/browser/media/webrtc_log_uploader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +137 lines, -26 lines 0 comments Download
M chrome/browser/media/webrtc_log_uploader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.h View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +79 lines, -22 lines 0 comments Download
M chrome/browser/media/webrtc_logging_handler_host.cc View 1 2 3 4 5 6 7 8 9 10 11 19 chunks +248 lines, -104 lines 0 comments Download
M chrome/common/extensions/api/webrtc_logging_private.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +17 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (7 generated)
tommi (sloooow) - chröme
Refactor the function classes a bit
5 years, 10 months ago (2015-02-17 20:26:01 UTC) #1
tommi (sloooow) - chröme
Refactored quite a bit. One more test running, storing the native log now.
5 years, 10 months ago (2015-02-17 23:08:38 UTC) #2
tommi (sloooow) - chröme
Tons of refactoring to be able to reuse the uploading code for stored logs/metadata
5 years, 10 months ago (2015-02-18 13:44:53 UTC) #3
tommi (sloooow) - chröme
Remove unused param
5 years, 10 months ago (2015-02-18 14:02:10 UTC) #4
tommi (sloooow) - chröme
Update unit_tests target
5 years, 10 months ago (2015-02-18 14:23:56 UTC) #5
tommi (sloooow) - chröme
Upload test passing
5 years, 10 months ago (2015-02-18 16:58:39 UTC) #6
tommi (sloooow) - chröme
Add support for rtp dumps
5 years, 10 months ago (2015-02-18 20:56:44 UTC) #7
tommi (sloooow) - chröme
Add support for meta data
5 years, 10 months ago (2015-02-18 21:43:30 UTC) #8
tommi (sloooow) - chröme
Rebase
5 years, 10 months ago (2015-02-18 21:52:11 UTC) #9
tommi (sloooow) - chröme
Hej Per - sorry about this rather large review. I had to refactor the code ...
5 years, 10 months ago (2015-02-18 21:58:10 UTC) #11
tommi (sloooow) - chröme
Remove leftover comments
5 years, 10 months ago (2015-02-18 22:08:19 UTC) #12
tommi (sloooow) - chröme
Change how we read from WebRtcLogBuffer
5 years, 10 months ago (2015-02-19 08:11:02 UTC) #13
tommi (sloooow) - chröme
Rebase
5 years, 10 months ago (2015-02-19 09:46:15 UTC) #14
perkj_chrome
lgtm with some nits. https://codereview.chromium.org/927233005/diff/240001/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc File chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc (right): https://codereview.chromium.org/927233005/diff/240001/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc#newcode10 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc:10: #include "base/strings/string_number_conversions.h" duplicate include https://codereview.chromium.org/927233005/diff/240001/chrome/browser/media/webrtc_log_uploader.cc ...
5 years, 10 months ago (2015-02-19 11:55:54 UTC) #15
tommi (sloooow) - chröme
Address comments
5 years, 10 months ago (2015-02-19 12:59:42 UTC) #17
tommi (sloooow) - chröme
+finnur as extension owner +isherman for histograms.xml https://codereview.chromium.org/927233005/diff/240001/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc File chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc (right): https://codereview.chromium.org/927233005/diff/240001/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc#newcode10 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc:10: #include "base/strings/string_number_conversions.h" ...
5 years, 10 months ago (2015-02-19 13:31:41 UTC) #19
Ilya Sherman
histograms lgtm
5 years, 10 months ago (2015-02-19 20:24:07 UTC) #20
Finnur
I'll leave the correctness of WebRtc code up to you guys but leave you with ...
5 years, 10 months ago (2015-02-20 10:59:16 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/927233005/260001
5 years, 10 months ago (2015-02-20 12:22:45 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/44196)
5 years, 10 months ago (2015-02-20 12:39:36 UTC) #25
tommi (sloooow) - chröme
Rebase
5 years, 10 months ago (2015-02-20 12:45:38 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/927233005/280001
5 years, 10 months ago (2015-02-20 12:51:58 UTC) #29
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 10 months ago (2015-02-20 13:50:02 UTC) #30
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 13:50:47 UTC) #31
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/ea8bd3ec56864669aafd76247f2e0f7b0160b590
Cr-Commit-Position: refs/heads/master@{#317309}

Powered by Google App Engine
This is Rietveld 408576698