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

Unified Diff: chrome/browser/chromeos/login/app_launch_controller.cc

Issue 2920253003: kiosk: Tighten cert manager UI (Closed)
Patch Set: rebase, base test is removed :( Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/proto/chrome_device_policy.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/app_launch_controller.cc
diff --git a/chrome/browser/chromeos/login/app_launch_controller.cc b/chrome/browser/chromeos/login/app_launch_controller.cc
index 31adbbe81ad0ac477817e19af6a6d69ba25ee3e8..9dc005718e0e04cc4f9c255f43ef9d1df1e1abc3 100644
--- a/chrome/browser/chromeos/login/app_launch_controller.cc
+++ b/chrome/browser/chromeos/login/app_launch_controller.cc
@@ -361,8 +361,9 @@ bool AppLaunchController::CanConfigureNetwork() {
return should_prompt;
}
- // Default to true to allow network configuration if the policy is missing.
- return true;
+ // Network configuration has to be explicitly allowed by the policy.
+ // Default to false if the policy is missing.
+ return false;
}
return user_manager::UserManager::Get()->GetOwnerAccountId().is_valid();
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/proto/chrome_device_policy.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698