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

Unified Diff: content/browser/loader/cross_site_resource_handler.cc

Issue 456513002: Add base:: qualification to some CommandLine references in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: imerge Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/cross_site_resource_handler.cc
diff --git a/content/browser/loader/cross_site_resource_handler.cc b/content/browser/loader/cross_site_resource_handler.cc
index 3d7862ff56974f5585e39793a31ddaaae34db4a2..03589bf1051ef8908337c645c1081ce1233d0a74 100644
--- a/content/browser/loader/cross_site_resource_handler.cc
+++ b/content/browser/loader/cross_site_resource_handler.cc
@@ -194,7 +194,8 @@ bool CrossSiteResourceHandler::OnNormalResponseStarted(
// or for WebUI processes for now, since pages like the NTP host multiple
// cross-site WebUI iframes.
if (!should_transfer &&
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kSitePerProcess) &&
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kSitePerProcess) &&
!ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings(
info->GetChildID())) {
return DeferForNavigationPolicyCheck(info, response, defer);
« no previous file with comments | « content/browser/loader/async_resource_handler.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698