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

Unified Diff: chrome/browser/policy/policy_helpers.cc

Issue 816403003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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: chrome/browser/policy/policy_helpers.cc
diff --git a/chrome/browser/policy/policy_helpers.cc b/chrome/browser/policy/policy_helpers.cc
index aeb28c8da720175c2ce37ef15306549774893917..5eb2051210a199d2e08ec671ade415e2b22414cd 100644
--- a/chrome/browser/policy/policy_helpers.cc
+++ b/chrome/browser/policy/policy_helpers.cc
@@ -23,7 +23,7 @@ bool OverrideBlacklistForURL(const GURL& url, bool* block, int* reason) {
#if defined(OS_CHROMEOS)
// On ChromeOS browsing is only allowed once OOBE has completed. Therefore all
// requests are blocked until this condition is met.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kOobeGuestSession)) {
if (!url.SchemeIs("chrome") && !url.SchemeIs("chrome-extension")) {
*reason = net::ERR_BLOCKED_ENROLLMENT_CHECK_PENDING;
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/predictors/autocomplete_action_predictor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698