Skip to content
Commit e2f14475 authored by xiaofeng.zhang's avatar xiaofeng.zhang Committed by Commit bot
Browse files

[ServiceWorker] Some code clean-up for content::ServiceWorkerContextClient

Using switch is the best option here to get compile time verification, and
we can catch it if WebServiceWorkerEventResult gains a new type later.

Here also replace some if-return with DCHECK.

BUG=None

Review-Url: https://codereview.chromium.org/2606303002
Cr-Commit-Position: refs/heads/master@{#442822}
parent 9b3dd2bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment