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

Issue 2172013002: Wire up OOM exception to the sad tab page. (Closed)

Created:
4 years, 5 months ago by Will Harris
Modified:
4 years, 5 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@memory2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Wire up OOM exception to the sad tab page. BUG=630472 Committed: https://crrev.com/fa40c27241523f6bf6e542657ea64bd1ff9f146c Cr-Commit-Position: refs/heads/master@{#407667}

Patch Set 1 #

Patch Set 2 : namespace #

Total comments: 4

Patch Set 3 : nits #

Patch Set 4 : add missing case #

Patch Set 5 : histograms #

Total comments: 4

Patch Set 6 : add units. use right macro #

Total comments: 2

Patch Set 7 : increment outside macro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -22 lines) Patch
M base/process/kill.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/process/kill_win.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/sad_tab.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/sad_tab_helper.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/sad_tab_types.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.cc View 1 2 3 4 5 6 5 chunks +22 lines, -12 lines 0 comments Download
M components/new_or_sad_tab_strings.grdp View 1 chunk +10 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 7 chunks +30 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Will Harris
PTAL mark -> base/* msw -> chrome/browser/ui/* sdefresne -> strings
4 years, 5 months ago (2016-07-22 15:56:45 UTC) #4
Mark Mentovai
LGTM in base following rejiggering
4 years, 5 months ago (2016-07-22 18:30:44 UTC) #5
msw
lgtm with nits https://codereview.chromium.org/2172013002/diff/20001/chrome/browser/ui/sad_tab_types.h File chrome/browser/ui/sad_tab_types.h (right): https://codereview.chromium.org/2172013002/diff/20001/chrome/browser/ui/sad_tab_types.h#newcode17 chrome/browser/ui/sad_tab_types.h:17: SAD_TAB_OOM, // Tab ran out of ...
4 years, 5 months ago (2016-07-22 22:48:10 UTC) #6
Will Harris
Thanks for reviews - sdefresne -> PTAL at the string change. Thanks! https://codereview.chromium.org/2172013002/diff/20001/chrome/browser/ui/sad_tab_types.h File chrome/browser/ui/sad_tab_types.h ...
4 years, 5 months ago (2016-07-22 23:23:56 UTC) #7
sdefresne
On 2016/07/22 23:23:56, Will Harris wrote: > Thanks for reviews - sdefresne -> PTAL at ...
4 years, 5 months ago (2016-07-25 17:22:21 UTC) #8
Will Harris
PTAL as I added missing histograms and case statements. reillyg -> extensions/ asvitkine -> histograms.xml
4 years, 5 months ago (2016-07-25 20:21:18 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/2172013002/diff/100001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2172013002/diff/100001/chrome/browser/ui/views/sad_tab_view.cc#newcode118 chrome/browser/ui/views/sad_tab_view.cc:118: UMA_HISTOGRAM_CUSTOM_COUNTS( This is UMA_HISTOGRAM_COUNTS_1000(). https://codereview.chromium.org/2172013002/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2172013002/diff/100001/tools/metrics/histograms/histograms.xml#newcode59179 ...
4 years, 5 months ago (2016-07-25 20:39:00 UTC) #12
Will Harris
PTAL https://codereview.chromium.org/2172013002/diff/100001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2172013002/diff/100001/chrome/browser/ui/views/sad_tab_view.cc#newcode118 chrome/browser/ui/views/sad_tab_view.cc:118: UMA_HISTOGRAM_CUSTOM_COUNTS( On 2016/07/25 20:39:00, Alexei Svitkine (slow) wrote: ...
4 years, 5 months ago (2016-07-25 20:47:53 UTC) #13
Alexei Svitkine (slow)
lgtm % comment https://codereview.chromium.org/2172013002/diff/120001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2172013002/diff/120001/chrome/browser/ui/views/sad_tab_view.cc#newcode254 chrome/browser/ui/views/sad_tab_view.cc:254: UMA_HISTOGRAM_COUNTS_1000("Tabs.SadTab.CrashDisplayed", ++crashed); Nit: I'd also put ...
4 years, 5 months ago (2016-07-25 22:15:44 UTC) #14
Will Harris
reillyg is ooo so -> lazyboy@ can you take a look at the minor change ...
4 years, 5 months ago (2016-07-25 23:15:32 UTC) #16
lazyboy
web_view_guest.cc LGTM
4 years, 5 months ago (2016-07-25 23:19:07 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/2172013002/140001
4 years, 5 months ago (2016-07-26 00:16:14 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 5 months ago (2016-07-26 01:13:15 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-26 01:16:13 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fa40c27241523f6bf6e542657ea64bd1ff9f146c
Cr-Commit-Position: refs/heads/master@{#407667}

Powered by Google App Engine
This is Rietveld 408576698