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

Issue 141433011: Cache feedback reports to disk in case of send failure. (Closed)

Created:
6 years, 11 months ago by rkc
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Total comments: 26

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Tests fix. #

Patch Set 7 : Race condition fix in tests. #

Patch Set 8 : #

Patch Set 9 : rebase #

Total comments: 20

Patch Set 10 : #

Total comments: 6

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -80 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
chrome/browser/feedback/feedback_profile_observer.h View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
chrome/browser/feedback/feedback_profile_observer.cc View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/feedback/feedback_report.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/browser/feedback/feedback_report.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +100 lines, -0 lines 0 comments Download
chrome/browser/feedback/feedback_uploader.h View 3 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/feedback/feedback_uploader.cc View 5 chunks +19 lines, -39 lines 0 comments Download
M chrome/browser/feedback/feedback_uploader_delegate.h View 2 chunks +3 lines, -4 lines 0 comments Download
chrome/browser/feedback/feedback_uploader_delegate.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/feedback/feedback_uploader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +42 lines, -22 lines 0 comments Download
M chrome/browser/feedback/feedback_util.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (0 generated)
rkc
6 years, 11 months ago (2014-01-23 01:45:15 UTC) #1
Zachary Kuznia
https://codereview.chromium.org/141433011/diff/1/chrome/browser/feedback/feedback_profile_observer.cc File chrome/browser/feedback/feedback_profile_observer.cc (right): https://codereview.chromium.org/141433011/diff/1/chrome/browser/feedback/feedback_profile_observer.cc#newcode1 chrome/browser/feedback/feedback_profile_observer.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 11 months ago (2014-01-23 05:21:00 UTC) #2
rkc
https://codereview.chromium.org/141433011/diff/1/chrome/browser/feedback/feedback_profile_observer.cc File chrome/browser/feedback/feedback_profile_observer.cc (right): https://codereview.chromium.org/141433011/diff/1/chrome/browser/feedback/feedback_profile_observer.cc#newcode1 chrome/browser/feedback/feedback_profile_observer.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 11 months ago (2014-01-23 21:47:59 UTC) #3
Zachary Kuznia
lgtm
6 years, 11 months ago (2014-01-23 22:02:11 UTC) #4
rkc
Adding thestig@ for chrome_browser_main owner's review.
6 years, 11 months ago (2014-01-23 22:10:31 UTC) #5
Lei Zhang
The code looks like it's cross-platform, but the associated bug says this is a CrOS ...
6 years, 11 months ago (2014-01-23 22:14:36 UTC) #6
rkc
I didn't realize the bug was marked CrOS only; this is supposed to be for ...
6 years, 11 months ago (2014-01-23 22:22:46 UTC) #7
Lei Zhang
Nits. https://codereview.chromium.org/141433011/diff/120001/chrome/browser/feedback/feedback_profile_observer.cc File chrome/browser/feedback/feedback_profile_observer.cc (right): https://codereview.chromium.org/141433011/diff/120001/chrome/browser/feedback/feedback_profile_observer.cc#newcode21 chrome/browser/feedback/feedback_profile_observer.cc:21: static base::LazyInstance<feedback::FeedbackProfileObserver>::Leaky You don't need static inside an ...
6 years, 11 months ago (2014-01-23 22:28:41 UTC) #8
Lei Zhang
On 2014/01/23 22:22:46, Rahul Chaturvedi wrote: > I didn't realize the bug was marked CrOS ...
6 years, 11 months ago (2014-01-23 22:32:04 UTC) #9
Lei Zhang
chrome/browser/chrome_browser_main.cc lgtm https://codereview.chromium.org/141433011/diff/120001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/141433011/diff/120001/chrome/browser/chrome_browser_main.cc#newcode1236 chrome/browser/chrome_browser_main.cc:1236: feedback::FeedbackProfileObserver::Initialize(); Can do this in PreProfileInit() instead? ...
6 years, 11 months ago (2014-01-23 22:40:58 UTC) #10
rkc
Addressed comments. This code (though compiled in) will never run on Android since there is ...
6 years, 11 months ago (2014-01-23 22:57:21 UTC) #11
Lei Zhang
https://codereview.chromium.org/141433011/diff/120001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/141433011/diff/120001/chrome/browser/chrome_browser_main.cc#newcode1236 chrome/browser/chrome_browser_main.cc:1236: feedback::FeedbackProfileObserver::Initialize(); On 2014/01/23 22:57:21, Rahul Chaturvedi wrote: > On ...
6 years, 11 months ago (2014-01-23 23:50:38 UTC) #12
rkc
https://codereview.chromium.org/141433011/diff/120001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/141433011/diff/120001/chrome/browser/chrome_browser_main.cc#newcode1236 chrome/browser/chrome_browser_main.cc:1236: feedback::FeedbackProfileObserver::Initialize(); On 2014/01/23 23:50:39, Lei Zhang wrote: > On ...
6 years, 11 months ago (2014-01-23 23:56:59 UTC) #13
Lei Zhang
lgtm++
6 years, 11 months ago (2014-01-23 23:58:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/141433011/130013
6 years, 11 months ago (2014-01-24 00:04:33 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=250953
6 years, 11 months ago (2014-01-24 02:49:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/141433011/130013
6 years, 11 months ago (2014-01-24 21:25:38 UTC) #17
commit-bot: I haz the power
Change committed as 246992
6 years, 11 months ago (2014-01-24 22:55:12 UTC) #18
Alpha Left Google
A revert of this CL has been created in https://codereview.chromium.org/133193004/ by hclam@chromium.org. The reason for ...
6 years, 11 months ago (2014-01-25 02:50:20 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/141433011/680001
6 years, 10 months ago (2014-01-29 00:24:48 UTC) #20
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=217601
6 years, 10 months ago (2014-01-29 01:25:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/141433011/680001
6 years, 10 months ago (2014-01-29 02:59:28 UTC) #22
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=43019
6 years, 10 months ago (2014-01-29 19:23:57 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/141433011/680001
6 years, 10 months ago (2014-01-29 19:26:59 UTC) #24
commit-bot: I haz the power
Change committed as 247772
6 years, 10 months ago (2014-01-29 23:29:30 UTC) #25
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 10 months ago (2014-02-01 01:01:46 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/141433011/830001
6 years, 10 months ago (2014-02-01 01:02:18 UTC) #27
Lei Zhang
The CQ bit was unchecked by thestig@chromium.org
6 years, 10 months ago (2014-02-01 01:11:27 UTC) #28
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:11:32 UTC) #29
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:11:36 UTC) #30
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:11:36 UTC) #31
Lei Zhang
Please get your code re-reviewed after making non-trivial changes. https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_uploader_unittest.cc File chrome/browser/feedback/feedback_uploader_unittest.cc (right): https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_uploader_unittest.cc#newcode59 chrome/browser/feedback/feedback_uploader_unittest.cc:59: ...
6 years, 10 months ago (2014-02-01 01:13:44 UTC) #32
Lei Zhang
https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_report.cc File chrome/browser/feedback/feedback_report.cc (right): https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_report.cc#newcode46 chrome/browser/feedback/feedback_report.cc:46: kFeedbackReportFilenamePrefix + base::GenerateGUID()); Consider using file_util::GetUniquePathNumber() instead of GenerateGUID(). ...
6 years, 10 months ago (2014-02-01 01:37:22 UTC) #33
rkc
https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_report.cc File chrome/browser/feedback/feedback_report.cc (right): https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_report.cc#newcode46 chrome/browser/feedback/feedback_report.cc:46: kFeedbackReportFilenamePrefix + base::GenerateGUID()); On 2014/02/01 01:37:22, Lei Zhang wrote: ...
6 years, 10 months ago (2014-02-03 22:13:11 UTC) #34
Lei Zhang
https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_report.h File chrome/browser/feedback/feedback_report.h (right): https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_report.h#newcode28 chrome/browser/feedback/feedback_report.h:28: class FeedbackReport : public base::RefCountedThreadSafe<FeedbackReport> { On 2014/02/03 22:13:11, ...
6 years, 10 months ago (2014-02-03 22:26:50 UTC) #35
Lei Zhang
https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_uploader_unittest.cc File chrome/browser/feedback/feedback_uploader_unittest.cc (right): https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_uploader_unittest.cc#newcode59 chrome/browser/feedback/feedback_uploader_unittest.cc:59: base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); On 2014/02/03 22:13:11, Rahul Chaturvedi wrote: > On ...
6 years, 10 months ago (2014-02-03 22:29:40 UTC) #36
rkc
https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_report.h File chrome/browser/feedback/feedback_report.h (right): https://codereview.chromium.org/141433011/diff/830001/chrome/browser/feedback/feedback_report.h#newcode28 chrome/browser/feedback/feedback_report.h:28: class FeedbackReport : public base::RefCountedThreadSafe<FeedbackReport> { On 2014/02/03 22:26:51, ...
6 years, 10 months ago (2014-02-03 22:41:26 UTC) #37
Lei Zhang
lgtm++
6 years, 10 months ago (2014-02-03 22:43:23 UTC) #38
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 10 months ago (2014-02-03 22:44:11 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/141433011/1070001
6 years, 10 months ago (2014-02-03 22:48:57 UTC) #40
commit-bot: I haz the power
6 years, 10 months ago (2014-02-04 01:22:08 UTC) #41
Message was sent while issue was closed.
Change committed as 248648

Powered by Google App Engine
This is Rietveld 408576698