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

Issue 2403913003: Add user name in the feedback data. (Closed)

Created:
4 years, 2 months ago by xingliu
Modified:
4 years, 1 month ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, scf+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add user name in the feedback data. Added a map entry for user name in the feedback data. The key is "Blimp Account", and the value will be Google account name of the current user, such as someone@gmail.com. When the user is not logged in, an empty string will be filled in as the value in the feedback data map. For early connect, the username can be catched in the feedback data. BUG=653721 Committed: https://crrev.com/23665d9436ba067872f0b2c652dce17404393657 Cr-Commit-Position: refs/heads/master@{#430739}

Patch Set 1 #

Patch Set 2 : Better unittests. #

Patch Set 3 : Changed to use username string. #

Patch Set 4 : Polish the comment. #

Patch Set 5 : Do a build version check. #

Total comments: 2

Patch Set 6 : Polish naming and add javadoc param. #

Patch Set 7 : Polish comments a bit more. #

Total comments: 2

Patch Set 8 : Version check only in Java layer. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -7 lines) Patch
M blimp/client/core/context/blimp_client_context_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M blimp/client/core/feedback/blimp_feedback_data.h View 1 chunk +4 lines, -1 line 0 comments Download
M blimp/client/core/feedback/blimp_feedback_data.cc View 2 chunks +4 lines, -1 line 0 comments Download
M blimp/client/core/feedback/blimp_feedback_data_unittest.cc View 1 3 chunks +23 lines, -3 lines 0 comments Download
M blimp/client/core/session/identity_source.h View 1 2 3 4 1 chunk +3 lines, -0 lines 1 comment Download
M blimp/client/core/session/identity_source.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M blimp/client/core/session/identity_source_unittest.cc View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/feedback/FeedbackCollector.java View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 34 (23 generated)
xingliu
Added user name in feedback data.
4 years, 2 months ago (2016-10-10 22:54:23 UTC) #5
nyquist
Could you update the CL to pass information about the build type? The constants live ...
4 years, 1 month ago (2016-11-04 17:36:58 UTC) #6
xingliu
Do a build version check for feedback data. User name will be non-empty when user ...
4 years, 1 month ago (2016-11-05 02:26:53 UTC) #11
David Trainor- moved to gerrit
https://codereview.chromium.org/2403913003/diff/80001/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java File blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java (right): https://codereview.chromium.org/2403913003/diff/80001/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java#newcode61 blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java:61: Map<String, String> getFeedbackMap(boolean isValidBuild); @param isValidBuild. Maybe name this ...
4 years, 1 month ago (2016-11-07 18:26:05 UTC) #12
xingliu
Added comments for isValidBuild. https://codereview.chromium.org/2403913003/diff/80001/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java File blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java (right): https://codereview.chromium.org/2403913003/diff/80001/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java#newcode61 blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java:61: Map<String, String> getFeedbackMap(boolean isValidBuild); On ...
4 years, 1 month ago (2016-11-07 19:08:36 UTC) #17
nyquist
https://codereview.chromium.org/2403913003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/feedback/FeedbackCollector.java File chrome/android/java/src/org/chromium/chrome/browser/feedback/FeedbackCollector.java (right): https://codereview.chromium.org/2403913003/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/feedback/FeedbackCollector.java#newcode293 chrome/android/java/src/org/chromium/chrome/browser/feedback/FeedbackCollector.java:293: boolean isLocalOrCanaryBuild = I think it makes sense to ...
4 years, 1 month ago (2016-11-08 20:28:16 UTC) #20
xingliu
Thanks for the feedback, update the CL to only do version check in Java layer. ...
4 years, 1 month ago (2016-11-08 20:54:16 UTC) #25
nyquist
lgtm https://codereview.chromium.org/2403913003/diff/140001/blimp/client/core/session/identity_source.h File blimp/client/core/session/identity_source.h (right): https://codereview.chromium.org/2403913003/diff/140001/blimp/client/core/session/identity_source.h#newcode39 blimp/client/core/session/identity_source.h:39: // Returns the account name for the current ...
4 years, 1 month ago (2016-11-08 20:58:59 UTC) #27
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/2403913003/140001
4 years, 1 month ago (2016-11-08 22:23:50 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-08 22:35:57 UTC) #32
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 22:50:28 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/23665d9436ba067872f0b2c652dce17404393657
Cr-Commit-Position: refs/heads/master@{#430739}

Powered by Google App Engine
This is Rietveld 408576698