Cleanup web_request_api.cc:
commit7041b48348a4175ec200f6d1e9750b2e1989080f
authorthestig <thestig@chromium.org>
Thu, 20 Aug 2015 23:15:06 +0000 (20 16:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Aug 2015 23:16:19 +0000 (20 23:16 +0000)
tree95fac0379b112dfd2048e6840dda05ae362af630
parentf0174383065041b7a6295b030d6a0e2300eea829
Cleanup web_request_api.cc:

- Put common code in functions.
- Use range-based for loops.
- Style nits.

Review URL: https://codereview.chromium.org/1288873008

Cr-Commit-Position: refs/heads/master@{#344609}
chrome/browser/extensions/api/web_request/chrome_extension_web_request_event_router_delegate.cc
chrome/browser/extensions/api/web_request/chrome_extension_web_request_event_router_delegate.h
extensions/browser/api/web_request/web_request_api.cc
extensions/browser/api/web_request/web_request_api.h
extensions/browser/api/web_request/web_request_event_router_delegate.cc
extensions/browser/api/web_request/web_request_event_router_delegate.h