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

Issue 877203002: Add helper method to check for invalid message source. (Closed)

Created:
5 years, 11 months ago by nasko
Modified:
5 years, 11 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add helper method to check for invalid message source. This CL refactors the check for invalid render_frame_message_source_ to a common method and uses it in all of the relevant IPC handlers. Ideally it will all be removed once RenderViewHost disappears or all of its IPC handling is removed. BUG=451932, 449777 Committed: https://crrev.com/907fcb65c9ff242000395d8e4483ebdca8b77cbe Cr-Commit-Position: refs/heads/master@{#313445}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add DCHECK. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -10 lines) Patch
M content/browser/web_contents/web_contents_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 9 chunks +30 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
nasko
Hey Charlie, Can you review this CL for me? It refactors the render_frame_message_source_ checks into ...
5 years, 11 months ago (2015-01-27 22:42:13 UTC) #2
Charlie Reis
Great. LGTM with nit. https://codereview.chromium.org/877203002/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/877203002/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode572 content/browser/web_contents/web_contents_impl.cc:572: if (!render_frame_message_source_) { nit: As ...
5 years, 11 months ago (2015-01-27 23:16:18 UTC) #3
nasko
https://codereview.chromium.org/877203002/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/877203002/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode572 content/browser/web_contents/web_contents_impl.cc:572: if (!render_frame_message_source_) { On 2015/01/27 23:16:17, Charlie Reis (slow ...
5 years, 11 months ago (2015-01-28 02:20:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877203002/20001
5 years, 11 months ago (2015-01-28 02:21:39 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-28 04:24:40 UTC) #7
commit-bot: I haz the power
5 years, 11 months ago (2015-01-28 04:25:49 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/907fcb65c9ff242000395d8e4483ebdca8b77cbe
Cr-Commit-Position: refs/heads/master@{#313445}

Powered by Google App Engine
This is Rietveld 408576698