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

Issue 2450093006: GetCurrentMemoryState() shouldn't return SUSPENDED state in browser (Closed)

Created:
4 years, 1 month ago by bashi
Modified:
4 years, 1 month ago
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GetCurrentMemoryState() shouldn't return SUSPENDED state in browser At least for now, clients in the browser process don't accept SUSPENDED state. MemoryCoordinatorImpl::GetCurrentMemoryState() shouldn't return SUSPENDED state. Use THROTTLED state instead. BUG=659891 Committed: https://crrev.com/0693b4df2baa450f88e4dbefc65a30bafc66e769 Cr-Commit-Position: refs/heads/master@{#427980}

Patch Set 1 #

Total comments: 3

Patch Set 2 : DCHECK for UNKNOWN #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -8 lines) Patch
M content/browser/memory/memory_coordinator_impl.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download
M content/browser/memory/memory_coordinator_impl_unittest.cc View 2 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
bashi
PTAL
4 years, 1 month ago (2016-10-27 05:31:45 UTC) #4
haraken
LGTM
4 years, 1 month ago (2016-10-27 05:33:57 UTC) #5
hajimehoshi
https://codereview.chromium.org/2450093006/diff/1/content/browser/memory/memory_coordinator_impl.cc File content/browser/memory/memory_coordinator_impl.cc (right): https://codereview.chromium.org/2450093006/diff/1/content/browser/memory/memory_coordinator_impl.cc#newcode118 content/browser/memory/memory_coordinator_impl.cc:118: : current_state_; UNKNOWN is also not permitted. How about ...
4 years, 1 month ago (2016-10-27 05:38:58 UTC) #6
hajimehoshi
https://codereview.chromium.org/2450093006/diff/1/content/browser/memory/memory_coordinator_impl.cc File content/browser/memory/memory_coordinator_impl.cc (right): https://codereview.chromium.org/2450093006/diff/1/content/browser/memory/memory_coordinator_impl.cc#newcode118 content/browser/memory/memory_coordinator_impl.cc:118: : current_state_; On 2016/10/27 05:38:57, hajimehoshi wrote: > UNKNOWN ...
4 years, 1 month ago (2016-10-27 05:39:39 UTC) #7
bashi
https://codereview.chromium.org/2450093006/diff/1/content/browser/memory/memory_coordinator_impl.cc File content/browser/memory/memory_coordinator_impl.cc (right): https://codereview.chromium.org/2450093006/diff/1/content/browser/memory/memory_coordinator_impl.cc#newcode118 content/browser/memory/memory_coordinator_impl.cc:118: : current_state_; On 2016/10/27 05:39:39, hajimehoshi wrote: > On ...
4 years, 1 month ago (2016-10-27 05:45:24 UTC) #8
hajimehoshi
lgtm
4 years, 1 month ago (2016-10-27 05:51:08 UTC) #11
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/2450093006/20001
4 years, 1 month ago (2016-10-27 08:04:17 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-27 09:40:54 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 09:42:26 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0693b4df2baa450f88e4dbefc65a30bafc66e769
Cr-Commit-Position: refs/heads/master@{#427980}

Powered by Google App Engine
This is Rietveld 408576698