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

Issue 55363003: Send compressed histograms with system logs when sending feedback. (Closed)

Created:
7 years, 1 month ago by michaelpg
Modified:
7 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, jar (doing other things), arv+watch_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, Ilya Sherman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Send compressed histograms with system logs when sending feedback. Send the metrics in JSON format so they can be imported and displayed by the histograms page (in a forthcoming CL). BUG=237288 R=rkc@chromium.org, xiyuan@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235981

Patch Set 1 #

Patch Set 2 : attachment helper #

Total comments: 12

Patch Set 3 : Addressed feedback feedback #

Total comments: 12

Patch Set 4 : Unit test #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Total comments: 1

Patch Set 8 : rebase with grt's changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -611 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/feedback_private/feedback_private_api.cc View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/feedback_private/feedback_service.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/feedback_private/feedback_service_nonchromeos.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/feedback/feedback_data.h View 1 2 3 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/feedback/feedback_data.cc View 1 2 3 4 5 6 8 chunks +50 lines, -5 lines 0 comments Download
M chrome/browser/feedback/feedback_util.cc View 1 2 3 4 3 chunks +24 lines, -15 lines 0 comments Download
D chrome/browser/resources/feedback.html View 1 chunk +0 lines, -121 lines 0 comments Download
D chrome/browser/resources/feedback.js View 1 chunk +0 lines, -447 lines 0 comments Download
M chrome/browser/resources/feedback/html/default.html View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/feedback/js/feedback.js View 1 2 3 4 5 6 6 chunks +38 lines, -17 lines 0 comments Download
M chrome/common/extensions/api/feedback_private.idl View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
michaelpg
rkc: everything jar: base/metrics asargent: extensions xiyuan: resources Want to get this in for M32! ...
7 years, 1 month ago (2013-11-01 00:42:32 UTC) #1
Alexei Svitkine (slow)
Has this gone through Chrome Privacy review?
7 years, 1 month ago (2013-11-01 05:10:37 UTC) #2
asargent_no_longer_on_chrome
extensions parts rubber-stamp LGTM assuming rkc@ is ok with them, and the question about privacy ...
7 years, 1 month ago (2013-11-01 18:15:03 UTC) #3
rkc
https://codereview.chromium.org/55363003/diff/30001/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc File chrome/browser/extensions/api/feedback_private/feedback_private_api.cc (right): https://codereview.chromium.org/55363003/diff/30001/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc#newcode220 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc:220: if (feedback_info.send_histograms) { As mentioned in the IDL, this ...
7 years, 1 month ago (2013-11-01 19:57:39 UTC) #4
michaelpg
@asvitkine No, this does not have a privacy signoff yet. https://codereview.chromium.org/55363003/diff/30001/chrome/browser/feedback/feedback_data.h File chrome/browser/feedback/feedback_data.h (right): https://codereview.chromium.org/55363003/diff/30001/chrome/browser/feedback/feedback_data.h#newcode41 ...
7 years, 1 month ago (2013-11-01 22:14:49 UTC) #5
rkc
lgtm https://codereview.chromium.org/55363003/diff/30001/chrome/browser/feedback/feedback_data.h File chrome/browser/feedback/feedback_data.h (right): https://codereview.chromium.org/55363003/diff/30001/chrome/browser/feedback/feedback_data.h#newcode41 chrome/browser/feedback/feedback_data.h:41: void SetAndCompressHistograms(const std::string& histograms); On 2013/11/01 22:14:50, Michael ...
7 years, 1 month ago (2013-11-01 22:28:31 UTC) #6
xiyuan
LGTM after the privacy concern is addressed.
7 years, 1 month ago (2013-11-01 22:45:37 UTC) #7
Alexei Svitkine (slow)
"@asvitkine No, this does not have a privacy signoff yet." That's fine, as long you've ...
7 years, 1 month ago (2013-11-02 00:05:26 UTC) #8
michaelpg
"That's fine, as long you've reached out to them and they'll review this." Yes, we've ...
7 years, 1 month ago (2013-11-02 17:39:08 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/55363003/diff/210001/chrome/browser/feedback/feedback_data.cc File chrome/browser/feedback/feedback_data.cc (right): https://codereview.chromium.org/55363003/diff/210001/chrome/browser/feedback/feedback_data.cc#newcode169 chrome/browser/feedback/feedback_data.cc:169: scoped_ptr<std::string> compressed_histograms(compressed_histograms_ptr); On 2013/11/02 17:39:09, Michael Giuffrida wrote: > ...
7 years, 1 month ago (2013-11-04 15:26:40 UTC) #10
michaelpg
https://codereview.chromium.org/55363003/diff/210001/chrome/browser/feedback/feedback_data.cc File chrome/browser/feedback/feedback_data.cc (right): https://codereview.chromium.org/55363003/diff/210001/chrome/browser/feedback/feedback_data.cc#newcode170 chrome/browser/feedback/feedback_data.cc:170: BrowserThread::PostBlockingPoolTaskAndReply( I'll look into testing this. https://codereview.chromium.org/55363003/diff/210001/chrome/browser/feedback/feedback_util.cc File chrome/browser/feedback/feedback_util.cc ...
7 years, 1 month ago (2013-11-04 17:25:18 UTC) #11
grt (UTC plus 2)
https://codereview.chromium.org/55363003/diff/720001/chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc File chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc (right): https://codereview.chromium.org/55363003/diff/720001/chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc#newcode68 chrome/browser/extensions/api/feedback_private/feedback_service_chromeos.cc:68: base::StatisticsRecorder::WriteJSON(std::string(), histograms); I landed a variation on your StatisticsRecorder ...
7 years, 1 month ago (2013-11-18 15:32:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/55363003/860015
7 years, 1 month ago (2013-11-19 07:35:28 UTC) #13
commit-bot: I haz the power
7 years, 1 month ago (2013-11-19 12:04:19 UTC) #14
Message was sent while issue was closed.
Change committed as 235981

Powered by Google App Engine
This is Rietveld 408576698