summaryrefslogtreecommitdiffstats
path: root/content/child/web_url_loader_impl.cc
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2014-12-22 16:08:49 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-23 00:09:30 +0000
commit83883c858834a2524223991537cc90e4be8f0468 (patch)
tree3d410fe9b15658023cfed4e3edc9b35ec6683fea /content/child/web_url_loader_impl.cc
parent60c25aebaf6c3bbc90c9c82f83a752ca58c7ddce (diff)
downloadchromium_src-83883c858834a2524223991537cc90e4be8f0468.zip
chromium_src-83883c858834a2524223991537cc90e4be8f0468.tar.gz
chromium_src-83883c858834a2524223991537cc90e4be8f0468.tar.bz2
Make callers of CommandLine use it via the base:: namespace.
Covers content/. BUG=422426 TEST=none TBR=ben@chromium.org Review URL: https://codereview.chromium.org/803813003 Cr-Commit-Position: refs/heads/master@{#309496}
Diffstat (limited to 'content/child/web_url_loader_impl.cc')
-rw-r--r--content/child/web_url_loader_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 2bd4bb1..b787f93 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -437,7 +437,7 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
// contains the body of the response. The request has already been made by the
// browser.
if (stream_override_.get()) {
- CHECK(CommandLine::ForCurrentProcess()->HasSwitch(
+ CHECK(base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableBrowserSideNavigation));
DCHECK(!sync_load_response);
DCHECK_NE(WebURLRequest::FrameTypeNone, request.frameType());
@@ -447,8 +447,8 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
// PlzNavigate: the only navigation requests going through the WebURLLoader
// are the ones created by CommitNavigation.
- DCHECK(!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableBrowserSideNavigation) ||
+ DCHECK(!base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableBrowserSideNavigation) ||
stream_override_.get() ||
request.frameType() == WebURLRequest::FrameTypeNone);
@@ -587,7 +587,7 @@ void WebURLLoaderImpl::Context::OnReceivedResponse(
// PlzNavigate: during navigations, the ResourceResponse has already been
// received on the browser side, and has been passed down to the renderer.
if (stream_override_.get()) {
- CHECK(CommandLine::ForCurrentProcess()->HasSwitch(
+ CHECK(base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableBrowserSideNavigation));
info = stream_override_->response;
}