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

Issue 1006753003: Add time from navigation_start to NTP LogEvent (Closed)

Created:
5 years, 9 months ago by fserb
Modified:
5 years, 9 months ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, asvitkine+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, estade+watch_chromium.org, kmadhusu+watch_chromium.org, Jered, pedrosimonetti+watch_chromium.org, beaudoin, Mathieu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add time from navigation_start to NTP LogEvent BUG=467633 Committed: https://crrev.com/68e665768e2e4a905bb932bf24428d140b28d858 Cr-Commit-Position: refs/heads/master@{#321439}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 7

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Total comments: 8

Patch Set 9 : \] #

Patch Set 10 : #

Total comments: 8

Patch Set 11 : #

Total comments: 2

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -35 lines) Patch
M chrome/browser/ui/search/search_ipc_router.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/search/search_ipc_router.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/search_ipc_router_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -8 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/metrics_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_user_data_logger.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -9 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 40 (10 generated)
fserb
5 years, 9 months ago (2015-03-16 17:17:44 UTC) #3
Will Harris
https://codereview.chromium.org/1006753003/diff/20001/chrome/common/render_messages.h File chrome/common/render_messages.h (right): https://codereview.chromium.org/1006753003/diff/20001/chrome/common/render_messages.h#newcode597 chrome/common/render_messages.h:597: int64 /* time */) delta should always be positive, ...
5 years, 9 months ago (2015-03-16 17:39:03 UTC) #4
fserb
Thanks for the comments. Done. https://codereview.chromium.org/1006753003/diff/20001/chrome/common/render_messages.h File chrome/common/render_messages.h (right): https://codereview.chromium.org/1006753003/diff/20001/chrome/common/render_messages.h#newcode597 chrome/common/render_messages.h:597: int64 /* time */) ...
5 years, 9 months ago (2015-03-16 17:49:39 UTC) #5
Will Harris
chrome/common/render_messages.h lgtm
5 years, 9 months ago (2015-03-16 18:08:54 UTC) #6
fserb
5 years, 9 months ago (2015-03-16 19:48:32 UTC) #7
kmadhusu
https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc File chrome/renderer/searchbox/searchbox.cc (right): https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc#newcode169 chrome/renderer/searchbox/searchbox.cc:169: .navigationStart(); style nit: Can you rewrite this line as ...
5 years, 9 months ago (2015-03-16 21:35:30 UTC) #8
fserb
thanks. https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc File chrome/renderer/searchbox/searchbox.cc (right): https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc#newcode169 chrome/renderer/searchbox/searchbox.cc:169: .navigationStart(); On 2015/03/16 21:35:30, kmadhusu wrote: > style ...
5 years, 9 months ago (2015-03-16 21:45:50 UTC) #9
kmadhusu
https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc File chrome/renderer/searchbox/searchbox.cc (right): https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc#newcode169 chrome/renderer/searchbox/searchbox.cc:169: .navigationStart(); On 2015/03/16 21:45:49, fserb wrote: > On 2015/03/16 ...
5 years, 9 months ago (2015-03-16 21:58:48 UTC) #10
fserb
https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc File chrome/renderer/searchbox/searchbox.cc (right): https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc#newcode169 chrome/renderer/searchbox/searchbox.cc:169: .navigationStart(); On 2015/03/16 21:58:48, kmadhusu wrote: > On 2015/03/16 ...
5 years, 9 months ago (2015-03-16 22:05:32 UTC) #11
kmadhusu
Thanks. https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc File chrome/renderer/searchbox/searchbox.cc (right): https://codereview.chromium.org/1006753003/diff/80001/chrome/renderer/searchbox/searchbox.cc#newcode169 chrome/renderer/searchbox/searchbox.cc:169: .navigationStart(); On 2015/03/16 22:05:32, fserb wrote: > On ...
5 years, 9 months ago (2015-03-17 00:10:40 UTC) #12
fserb
Done. https://codereview.chromium.org/1006753003/diff/120001/chrome/renderer/searchbox/searchbox.cc File chrome/renderer/searchbox/searchbox.cc (right): https://codereview.chromium.org/1006753003/diff/120001/chrome/renderer/searchbox/searchbox.cc#newcode170 chrome/renderer/searchbox/searchbox.cc:170: uint64 now = (base::Time::Now() - base::Time::UnixEpoch()).InMilliseconds(); On 2015/03/17 ...
5 years, 9 months ago (2015-03-17 15:54:49 UTC) #13
kmadhusu
lgtm
5 years, 9 months ago (2015-03-17 16:48:32 UTC) #14
Dan Beam
https://codereview.chromium.org/1006753003/diff/140001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc File chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc (right): https://codereview.chromium.org/1006753003/diff/140001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc#newcode130 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc:130: void NTPUserDataLogger::LogEvent(NTPLoggingEventType event, uint64 time) { why do you ...
5 years, 9 months ago (2015-03-17 17:17:19 UTC) #15
fserb
https://codereview.chromium.org/1006753003/diff/140001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc File chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc (right): https://codereview.chromium.org/1006753003/diff/140001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc#newcode130 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc:130: void NTPUserDataLogger::LogEvent(NTPLoggingEventType event, uint64 time) { On 2015/03/17 17:17:19, ...
5 years, 9 months ago (2015-03-17 17:41:32 UTC) #16
fserb
PTAL
5 years, 9 months ago (2015-03-18 21:14:19 UTC) #17
fserb
5 years, 9 months ago (2015-03-19 19:35:31 UTC) #20
James Hawkins
On 2015/03/19 19:35:31, fserb wrote: Which files are you asking me to review?
5 years, 9 months ago (2015-03-19 19:49:00 UTC) #21
chromium-reviews
chrome/browser/ui/webui/... On Thu, Mar 19, 2015 at 3:49 PM <jhawkins@chromium.org> wrote: > On 2015/03/19 19:35:31, ...
5 years, 9 months ago (2015-03-19 19:50:15 UTC) #22
James Hawkins
https://codereview.chromium.org/1006753003/diff/180001/chrome/browser/ui/webui/metrics_handler.cc File chrome/browser/ui/webui/metrics_handler.cc (left): https://codereview.chromium.org/1006753003/diff/180001/chrome/browser/ui/webui/metrics_handler.cc#oldcode112 chrome/browser/ui/webui/metrics_handler.cc:112: NTPUserDataLogger::GetOrCreateFromWebContents( Please don't change the styling, i.e., leave the ...
5 years, 9 months ago (2015-03-19 19:59:59 UTC) #23
fserb
Done. thanks. https://codereview.chromium.org/1006753003/diff/180001/chrome/browser/ui/webui/metrics_handler.cc File chrome/browser/ui/webui/metrics_handler.cc (left): https://codereview.chromium.org/1006753003/diff/180001/chrome/browser/ui/webui/metrics_handler.cc#oldcode112 chrome/browser/ui/webui/metrics_handler.cc:112: NTPUserDataLogger::GetOrCreateFromWebContents( On 2015/03/19 19:59:59, James Hawkins wrote: ...
5 years, 9 months ago (2015-03-19 20:07:49 UTC) #24
James Hawkins
https://codereview.chromium.org/1006753003/diff/200001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h File chrome/browser/ui/webui/ntp/ntp_user_data_logger.h (right): https://codereview.chromium.org/1006753003/diff/200001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h#newcode47 chrome/browser/ui/webui/ntp/ntp_user_data_logger.h:47: void LogEvent(NTPLoggingEventType event, uint64 time); Why not use TimeDelta? ...
5 years, 9 months ago (2015-03-19 20:10:07 UTC) #25
fserb
https://codereview.chromium.org/1006753003/diff/200001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h File chrome/browser/ui/webui/ntp/ntp_user_data_logger.h (right): https://codereview.chromium.org/1006753003/diff/200001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h#newcode47 chrome/browser/ui/webui/ntp/ntp_user_data_logger.h:47: void LogEvent(NTPLoggingEventType event, uint64 time); On 2015/03/19 20:10:07, James ...
5 years, 9 months ago (2015-03-19 20:15:31 UTC) #26
James Hawkins
On 2015/03/19 20:15:31, fserb wrote: > https://codereview.chromium.org/1006753003/diff/200001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h > File chrome/browser/ui/webui/ntp/ntp_user_data_logger.h (right): > > https://codereview.chromium.org/1006753003/diff/200001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h#newcode47 > ...
5 years, 9 months ago (2015-03-19 20:18:22 UTC) #27
fserb
Ok. Converted them all to TimeDelta.
5 years, 9 months ago (2015-03-19 20:37:41 UTC) #28
James Hawkins
lgtm
5 years, 9 months ago (2015-03-19 20:43:45 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1006753003/220001
5 years, 9 months ago (2015-03-19 20:45:58 UTC) #32
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No LGTM from ...
5 years, 9 months ago (2015-03-19 20:46:04 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1006753003/220001
5 years, 9 months ago (2015-03-19 20:47:51 UTC) #38
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 9 months ago (2015-03-19 21:48:50 UTC) #39
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 21:49:53 UTC) #40
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/68e665768e2e4a905bb932bf24428d140b28d858
Cr-Commit-Position: refs/heads/master@{#321439}

Powered by Google App Engine
This is Rietveld 408576698