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

Issue 792163002: Add ExitFunnel to prepare for instrumenting browser exits. (Closed)

Created:
6 years ago by Sigurður Ásgeirsson
Modified:
6 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Project:
chromium
Visibility:
Public.

Description

Add ExitFunnel class to browser_watcher, along with tests and metrics reporting. BUG=412384 Committed: https://crrev.com/deaea6e5790c7e11f179b55aafda79e4b221ecb4 Cr-Commit-Position: refs/heads/master@{#308184}

Patch Set 1 : Remove stray files. #

Total comments: 16

Patch Set 2 : Add class docs for ExitFunnel. #

Patch Set 3 : Add some more testing, make a start on pulling the reader to a standalone function. #

Total comments: 12

Patch Set 4 : Address Erik's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+457 lines, -34 lines) Patch
M components/browser_watcher.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A components/browser_watcher/exit_funnel_win.h View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A components/browser_watcher/exit_funnel_win.cc View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
A components/browser_watcher/exit_funnel_win_unittest.cc View 1 2 3 1 chunk +116 lines, -0 lines 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win.h View 1 chunk +11 lines, -1 line 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win.cc View 1 2 3 chunks +149 lines, -33 lines 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win_unittest.cc View 1 2 3 chunks +56 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Sigurður Ásgeirsson
Hey Erik, PTAL - though I think this'll do with a bit more testing before ...
6 years ago (2014-12-10 20:35:31 UTC) #4
erikwright (departed)
Please decouple the reading and writing of data from the other code. https://codereview.chromium.org/792163002/diff/20001/components/browser_watcher/exit_funnel_win.cc File components/browser_watcher/exit_funnel_win.cc ...
6 years ago (2014-12-11 15:00:47 UTC) #5
Sigurður Ásgeirsson
Please take another look? https://codereview.chromium.org/792163002/diff/20001/components/browser_watcher/exit_funnel_win.cc File components/browser_watcher/exit_funnel_win.cc (right): https://codereview.chromium.org/792163002/diff/20001/components/browser_watcher/exit_funnel_win.cc#newcode9 components/browser_watcher/exit_funnel_win.cc:9: #include "base/strings/string16.h" On 2014/12/11 15:00:46, ...
6 years ago (2014-12-12 16:21:40 UTC) #6
erikwright (departed)
LGTM with a few cleanups. https://codereview.chromium.org/792163002/diff/60001/components/browser_watcher/exit_funnel_win.h File components/browser_watcher/exit_funnel_win.h (right): https://codereview.chromium.org/792163002/diff/60001/components/browser_watcher/exit_funnel_win.h#newcode5 components/browser_watcher/exit_funnel_win.h:5: #ifndef COMPONENTS_BROWSER_WATCHER_END_SESSION_WIN_H_ fix this ...
6 years ago (2014-12-12 16:58:29 UTC) #7
erikwright (departed)
https://codereview.chromium.org/792163002/diff/60001/components/browser_watcher/watcher_metrics_provider_win.cc File components/browser_watcher/watcher_metrics_provider_win.cc (right): https://codereview.chromium.org/792163002/diff/60001/components/browser_watcher/watcher_metrics_provider_win.cc#newcode136 components/browser_watcher/watcher_metrics_provider_win.cc:136: for (size_t i = 0; i < events.size(); ++i) ...
6 years ago (2014-12-12 17:17:19 UTC) #8
Sigurður Ásgeirsson
Thanks! I'm going to see if I can land this before or during the weekend... ...
6 years ago (2014-12-12 20:25:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/792163002/100001
6 years ago (2014-12-12 20:25:56 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:100001)
6 years ago (2014-12-12 22:41:56 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-12 22:42:47 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/deaea6e5790c7e11f179b55aafda79e4b221ecb4
Cr-Commit-Position: refs/heads/master@{#308184}

Powered by Google App Engine
This is Rietveld 408576698