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

Issue 2189353003: Sent feedback reports must respect the product ID if any was provided (Closed)

Created:
4 years, 4 months ago by afakhry
Modified:
4 years, 4 months ago
Reviewers:
rkc, Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sent feedback reports must respect the product ID if any was provided The product ID used to be ignored and the reports were sent using a default value depending on either chrome or chromeos. The product ID has an integer type, yet in the FeedbackInfo, it was never updated and still had a string type. This CL fixes these issues. BUG=629172 TEST=components_unittests --gtest_filter=FeedbackCommonTest.* CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/402fadf2aa66df46406f46dbde4d69a93d9a4a7e Cr-Commit-Position: refs/heads/master@{#409641}

Patch Set 1 #

Patch Set 2 : Fix comments #

Total comments: 6

Patch Set 3 : Rahul's comments #

Patch Set 4 : Rahul's nit and adding myself to OWNERS #

Total comments: 5

Patch Set 5 : Devlin's comments #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -59 lines) Patch
M chrome/browser/extensions/api/feedback_private/feedback_private_api.cc View 1 2 3 4 2 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/resources/feedback/OWNERS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/feedback/js/feedback.js View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/feedback_private.idl View 1 chunk +1 line, -1 line 4 comments Download
M components/feedback/OWNERS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/feedback/feedback_common.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M components/feedback/feedback_common.cc View 3 chunks +32 lines, -3 lines 0 comments Download
M components/feedback/feedback_common_unittest.cc View 1 2 2 chunks +29 lines, -8 lines 0 comments Download
M components/feedback/feedback_util.cc View 3 chunks +2 lines, -36 lines 0 comments Download

Messages

Total messages: 40 (24 generated)
afakhry
Rahul, could you please review? Thanks!
4 years, 4 months ago (2016-07-29 18:26:51 UTC) #6
rkc
https://codereview.chromium.org/2189353003/diff/20001/chrome/common/extensions/api/feedback_private.idl File chrome/common/extensions/api/feedback_private.idl (right): https://codereview.chromium.org/2189353003/diff/20001/chrome/common/extensions/api/feedback_private.idl#newcode51 chrome/common/extensions/api/feedback_private.idl:51: long? productId; Many, if not all, callers of the ...
4 years, 4 months ago (2016-07-30 23:46:40 UTC) #9
afakhry
https://codereview.chromium.org/2189353003/diff/20001/chrome/common/extensions/api/feedback_private.idl File chrome/common/extensions/api/feedback_private.idl (right): https://codereview.chromium.org/2189353003/diff/20001/chrome/common/extensions/api/feedback_private.idl#newcode51 chrome/common/extensions/api/feedback_private.idl:51: long? productId; On 2016/07/30 23:46:39, rkc wrote: > Many, ...
4 years, 4 months ago (2016-08-02 00:49:36 UTC) #13
rkc
lgtm % nit https://codereview.chromium.org/2189353003/diff/20001/components/feedback/feedback_common.h File components/feedback/feedback_common.h (right): https://codereview.chromium.org/2189353003/diff/20001/components/feedback/feedback_common.h#newcode69 components/feedback/feedback_common.h:69: bool HasProductId() const { return product_id_ ...
4 years, 4 months ago (2016-08-02 00:57:58 UTC) #14
afakhry
Rhul: Done. Devlin: Could you please review feedback_private.idl? Thanks! https://codereview.chromium.org/2189353003/diff/20001/components/feedback/feedback_common.h File components/feedback/feedback_common.h (right): https://codereview.chromium.org/2189353003/diff/20001/components/feedback/feedback_common.h#newcode69 components/feedback/feedback_common.h:69: ...
4 years, 4 months ago (2016-08-02 23:56:02 UTC) #20
afakhry
On 2016/08/02 23:56:02, afakhry wrote: > Rhul: Done. Sorry, meant Rahul! :) > > Devlin: ...
4 years, 4 months ago (2016-08-02 23:56:51 UTC) #21
rkc
re-lgtm
4 years, 4 months ago (2016-08-02 23:57:02 UTC) #22
Devlin
https://codereview.chromium.org/2189353003/diff/60001/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/2189353003/diff/60001/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc#newcode258 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc:258: if (feedback_info.product_id.get()) optional nit: technically, all these .get()s are ...
4 years, 4 months ago (2016-08-03 18:04:36 UTC) #25
afakhry
https://codereview.chromium.org/2189353003/diff/60001/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/2189353003/diff/60001/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc#newcode258 chrome/browser/extensions/api/feedback_private/feedback_private_api.cc:258: if (feedback_info.product_id.get()) On 2016/08/03 18:04:36, Devlin wrote: > optional ...
4 years, 4 months ago (2016-08-03 20:16:10 UTC) #27
Devlin
lgtm https://codereview.chromium.org/2189353003/diff/60001/chrome/browser/resources/feedback/js/feedback.js File chrome/browser/resources/feedback/js/feedback.js (right): https://codereview.chromium.org/2189353003/diff/60001/chrome/browser/resources/feedback/js/feedback.js#newcode209 chrome/browser/resources/feedback/js/feedback.js:209: // For apps that still use a string ...
4 years, 4 months ago (2016-08-03 22:11:50 UTC) #31
rkc
https://codereview.chromium.org/2189353003/diff/80001/chrome/common/extensions/api/feedback_private.idl File chrome/common/extensions/api/feedback_private.idl (right): https://codereview.chromium.org/2189353003/diff/80001/chrome/common/extensions/api/feedback_private.idl#newcode51 chrome/common/extensions/api/feedback_private.idl:51: long? productId; On 2016/08/03 22:11:50, Devlin wrote: > Just ...
4 years, 4 months ago (2016-08-03 22:21:03 UTC) #32
afakhry
https://codereview.chromium.org/2189353003/diff/80001/chrome/common/extensions/api/feedback_private.idl File chrome/common/extensions/api/feedback_private.idl (right): https://codereview.chromium.org/2189353003/diff/80001/chrome/common/extensions/api/feedback_private.idl#newcode51 chrome/common/extensions/api/feedback_private.idl:51: long? productId; On 2016/08/03 22:11:50, Devlin wrote: > Just ...
4 years, 4 months ago (2016-08-03 22:22:40 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2189353003/80001
4 years, 4 months ago (2016-08-03 22:23:39 UTC) #36
Devlin
https://codereview.chromium.org/2189353003/diff/80001/chrome/common/extensions/api/feedback_private.idl File chrome/common/extensions/api/feedback_private.idl (right): https://codereview.chromium.org/2189353003/diff/80001/chrome/common/extensions/api/feedback_private.idl#newcode51 chrome/common/extensions/api/feedback_private.idl:51: long? productId; On 2016/08/03 22:22:40, afakhry wrote: > On ...
4 years, 4 months ago (2016-08-03 22:24:02 UTC) #37
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-03 22:27:58 UTC) #38
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 22:30:15 UTC) #40
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/402fadf2aa66df46406f46dbde4d69a93d9a4a7e
Cr-Commit-Position: refs/heads/master@{#409641}

Powered by Google App Engine
This is Rietveld 408576698