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

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

Issue 6350003: [cros] Make "New user" sign in consistent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 185f3e48aa8483dfa95ff389f7dacb1d87619414..0ec07183e641b6e20914cde9a875a5a0c4698f8f 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -593,12 +593,6 @@ void ExistingUserController::OnOffTheRecordLoginSuccess() {
void ExistingUserController::OnPasswordChangeDetected(
const GaiaAuthConsumer::ClientLoginResult& credentials) {
- // When signing in as a "New user" always remove old cryptohome.
- if (selected_view_index_ == controllers_.size() - 1) {
- ResyncEncryptedData();
- return;
- }
-
// Must not proceed without signature verification.
bool trusted_setting_available = user_settings_->RequestTrustedOwner(
method_factory_.NewRunnableMethod(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698