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

Issue 2968103002: Adds logging to indicate infobar creation in the native library, (Closed)

Created:
3 years, 5 months ago by ramyasharma
Modified:
3 years, 5 months ago
Reviewers:
Leo, napper, dvallet
CC:
asvitkine+watch_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds logging to indicate infobar creation in the native library, before the control goes to Android. This is added to get a better idea about the metrics we are seeing. BUG=720231 TBR=mdjones@chromium.org Review-Url: https://codereview.chromium.org/2968103002 Cr-Commit-Position: refs/heads/master@{#484562} Committed: https://chromium.googlesource.com/chromium/src/+/9042646a88a043a9918ffec4851320df1bda6fe2

Patch Set 1 #

Total comments: 6

Patch Set 2 #

Total comments: 2

Patch Set 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M chrome/browser/ui/android/infobars/translate_infobar.cc View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M components/translate/core/browser/translate_browser_metrics.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
ramyasharma
3 years, 5 months ago (2017-07-06 04:55:15 UTC) #4
napper
https://codereview.chromium.org/2968103002/diff/20001/chrome/browser/ui/android/infobars/translate_infobar.cc File chrome/browser/ui/android/infobars/translate_infobar.cc (right): https://codereview.chromium.org/2968103002/diff/20001/chrome/browser/ui/android/infobars/translate_infobar.cc#newcode21 chrome/browser/ui/android/infobars/translate_infobar.cc:21: #include "components/translate/core/browser/translate_browser_metrics.h" sort https://codereview.chromium.org/2968103002/diff/20001/chrome/browser/ui/android/infobars/translate_infobar.cc#newcode36 chrome/browser/ui/android/infobars/translate_infobar.cc:36: } } else { ...
3 years, 5 months ago (2017-07-06 05:09:01 UTC) #5
ramyasharma
Thanks Jon. PTAL? https://codereview.chromium.org/2968103002/diff/20001/chrome/browser/ui/android/infobars/translate_infobar.cc File chrome/browser/ui/android/infobars/translate_infobar.cc (right): https://codereview.chromium.org/2968103002/diff/20001/chrome/browser/ui/android/infobars/translate_infobar.cc#newcode21 chrome/browser/ui/android/infobars/translate_infobar.cc:21: #include "components/translate/core/browser/translate_browser_metrics.h" On 2017/07/06 05:09:01, napper ...
3 years, 5 months ago (2017-07-06 06:05:53 UTC) #6
ramyasharma
Thanks Jon. PTAL? https://codereview.chromium.org/2968103002/diff/20001/chrome/browser/ui/android/infobars/translate_infobar.cc File chrome/browser/ui/android/infobars/translate_infobar.cc (right): https://codereview.chromium.org/2968103002/diff/20001/chrome/browser/ui/android/infobars/translate_infobar.cc#newcode21 chrome/browser/ui/android/infobars/translate_infobar.cc:21: #include "components/translate/core/browser/translate_browser_metrics.h" On 2017/07/06 05:09:01, napper ...
3 years, 5 months ago (2017-07-06 06:05:53 UTC) #7
Leo
add some comment to make it more accurate. On the other side, how do we ...
3 years, 5 months ago (2017-07-06 06:36:43 UTC) #10
ramyasharma
Thanks Leo. PTAL https://codereview.chromium.org/2968103002/diff/40001/chrome/browser/ui/android/infobars/translate_infobar.cc File chrome/browser/ui/android/infobars/translate_infobar.cc (right): https://codereview.chromium.org/2968103002/diff/40001/chrome/browser/ui/android/infobars/translate_infobar.cc#newcode33 chrome/browser/ui/android/infobars/translate_infobar.cc:33: translate::TranslateBrowserMetrics::ReportInitiationStatus( On 2017/07/06 06:36:42, Leo wrote: ...
3 years, 5 months ago (2017-07-06 06:49:49 UTC) #12
napper
lgtm
3 years, 5 months ago (2017-07-06 06:52:23 UTC) #13
napper
3 years, 5 months ago (2017-07-06 06:56:57 UTC) #15
Leo
lgtm
3 years, 5 months ago (2017-07-06 06:58:57 UTC) #16
dvallet
lgtm
3 years, 5 months ago (2017-07-06 07:02:16 UTC) #17
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/2968103002/80001
3 years, 5 months ago (2017-07-06 07:21:36 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/481650)
3 years, 5 months ago (2017-07-06 07:30:40 UTC) #23
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/2968103002/80001
3 years, 5 months ago (2017-07-06 12:13:17 UTC) #26
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 13:00:23 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/9042646a88a043a9918ffec48513...

Powered by Google App Engine
This is Rietveld 408576698