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

Issue 14267002: Change IsSwappedOut to const and do a more restrictive check. (Closed)

Created:
7 years, 8 months ago by nasko
Modified:
7 years, 8 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Change IsSwappedOut to const and do a more restrictive check. BUG=226354, 226350 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195200

Patch Set 1 #

Total comments: 2

Patch Set 2 : Renaming IsSwappedOut to better reflect what it does. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -13 lines) Patch
M content/browser/web_contents/render_view_host_manager.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager.cc View 1 2 chunks +8 lines, -4 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager_unittest.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
nasko
7 years, 8 months ago (2013-04-15 20:21:00 UTC) #1
nasko
Charlie, Can you review this change? This is based on code in our prototype, so ...
7 years, 8 months ago (2013-04-15 20:21:58 UTC) #2
Charlie Reis
https://codereview.chromium.org/14267002/diff/1/content/browser/web_contents/render_view_host_manager.cc File content/browser/web_contents/render_view_host_manager.cc (right): https://codereview.chromium.org/14267002/diff/1/content/browser/web_contents/render_view_host_manager.cc#newcode982 content/browser/web_contents/render_view_host_manager.cc:982: RenderViewHostMap::const_iterator iter = swapped_out_hosts_.find( Good catch. Can you add ...
7 years, 8 months ago (2013-04-15 21:14:02 UTC) #3
nasko
I went with renaming. https://codereview.chromium.org/14267002/diff/1/content/browser/web_contents/render_view_host_manager.cc File content/browser/web_contents/render_view_host_manager.cc (right): https://codereview.chromium.org/14267002/diff/1/content/browser/web_contents/render_view_host_manager.cc#newcode982 content/browser/web_contents/render_view_host_manager.cc:982: RenderViewHostMap::const_iterator iter = swapped_out_hosts_.find( On ...
7 years, 8 months ago (2013-04-15 21:52:46 UTC) #4
Charlie Reis
LGTM!
7 years, 8 months ago (2013-04-15 22:00:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/14267002/6001
7 years, 8 months ago (2013-04-18 16:05:58 UTC) #6
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=30140
7 years, 8 months ago (2013-04-18 17:59:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/14267002/6001
7 years, 8 months ago (2013-04-18 20:40:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/14267002/6001
7 years, 8 months ago (2013-04-19 13:29:22 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 15:07:22 UTC) #10
Message was sent while issue was closed.
Change committed as 195200

Powered by Google App Engine
This is Rietveld 408576698