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

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

Issue 10855244: Remove the --enable-device-policy and --enable-onc-policy flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment Created 8 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: chrome/browser/chromeos/login/existing_user_controller.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
index 7d4fe779846155910a7e2cc596b21168080a6a47..1662ff72bc6e82d8844d3ada305d85c9e495a6b7 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -465,12 +465,9 @@ void ExistingUserController::OnUserSelected(const std::string& username) {
}
void ExistingUserController::OnStartEnterpriseEnrollment() {
- CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(switches::kEnableDevicePolicy)) {
- OwnershipService::GetSharedInstance()->GetStatusAsync(
- base::Bind(&ExistingUserController::OnEnrollmentOwnershipCheckCompleted,
- weak_factory_.GetWeakPtr()));
- }
+ OwnershipService::GetSharedInstance()->GetStatusAsync(
+ base::Bind(&ExistingUserController::OnEnrollmentOwnershipCheckCompleted,
+ weak_factory_.GetWeakPtr()));
}
void ExistingUserController::OnEnrollmentOwnershipCheckCompleted(

Powered by Google App Engine
This is Rietveld 408576698