Commit e1903b7a authored by Darin Fisher's avatar Darin Fisher Committed by Commit Bot

Fix comment, Accept should be WillDispatch.

Change-Id: Ia023f30e7ebc952da99e0390082d61fb5174da18
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521448Reviewed-by: default avatarKen Rockot <rockot@google.com>
Commit-Queue: Ken Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#825442}
parent 0c7c0d1d
......@@ -185,9 +185,9 @@ class Receiver {
}
// Sets the message filter to be notified of each incoming message before
// dispatch. If a filter returns |false| from Accept(), the message is not
// dispatched and the pipe is closed. Filters cannot be removed once added
// and only one can be set.
// dispatch. If a filter returns |false| from WillDispatch(), the message is
// not dispatched and the pipe is closed. Filters cannot be removed once
// added and only one can be set.
void SetFilter(std::unique_ptr<MessageFilter> filter) {
DCHECK(is_bound());
internal_state_.SetFilter(std::move(filter));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment