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

Unified Diff: chrome/browser/chromeos/login/managed/supervised_user_authentication.cc

Issue 224343003: Enable supervised users password sync/import on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update tests Created 6 years, 9 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/managed/supervised_user_authentication.cc
diff --git a/chrome/browser/chromeos/login/managed/supervised_user_authentication.cc b/chrome/browser/chromeos/login/managed/supervised_user_authentication.cc
index cbfba6f2be35f157a4366564ae367755711846b5..87478c6acb23d54754afb59b29634deef0827fa3 100644
--- a/chrome/browser/chromeos/login/managed/supervised_user_authentication.cc
+++ b/chrome/browser/chromeos/login/managed/supervised_user_authentication.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/chromeos/login/managed/supervised_user_authentication.h"
#include "base/base64.h"
-#include "base/command_line.h"
#include "base/json/json_file_value_serializer.h"
#include "base/macros.h"
#include "base/metrics/histogram.h"
@@ -17,7 +16,6 @@
#include "chrome/browser/chromeos/login/user.h"
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
-#include "chromeos/chromeos_switches.h"
#include "chromeos/cryptohome/signed_secret.pb.h"
#include "content/public/browser/browser_thread.h"
#include "crypto/hmac.h"
@@ -137,11 +135,7 @@ void OnPasswordDataLoaded(
SupervisedUserAuthentication::SupervisedUserAuthentication(
SupervisedUserManager* owner)
: owner_(owner),
- stable_schema_(SCHEMA_PLAIN) {
- CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(switches::kEnableSupervisedPasswordSync)) {
- stable_schema_ = SCHEMA_SALT_HASHED;
- }
+ stable_schema_(SCHEMA_SALT_HASHED) {
}
SupervisedUserAuthentication::~SupervisedUserAuthentication() {}

Powered by Google App Engine
This is Rietveld 408576698