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

Side by Side Diff: chromeos/login/auth/auth_status_consumer.h

Issue 2784273003: Implement a basic UI flow for cryptohome encryption migration. (Closed)
Patch Set: Address review comments. Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.cc ('k') | chromeos/login/auth/auth_status_consumer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_LOGIN_AUTH_AUTH_STATUS_CONSUMER_H_ 5 #ifndef CHROMEOS_LOGIN_AUTH_AUTH_STATUS_CONSUMER_H_
6 #define CHROMEOS_LOGIN_AUTH_AUTH_STATUS_CONSUMER_H_ 6 #define CHROMEOS_LOGIN_AUTH_AUTH_STATUS_CONSUMER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // The current login attempt has ended in failure, with error |error|. 114 // The current login attempt has ended in failure, with error |error|.
115 virtual void OnAuthFailure(const AuthFailure& error) = 0; 115 virtual void OnAuthFailure(const AuthFailure& error) = 0;
116 116
117 // The current login attempt has succeeded for |user_context|. 117 // The current login attempt has succeeded for |user_context|.
118 virtual void OnAuthSuccess(const UserContext& user_context) = 0; 118 virtual void OnAuthSuccess(const UserContext& user_context) = 0;
119 // The current guest login attempt has succeeded. 119 // The current guest login attempt has succeeded.
120 virtual void OnOffTheRecordAuthSuccess() {} 120 virtual void OnOffTheRecordAuthSuccess() {}
121 // The same password didn't work both online and offline. 121 // The same password didn't work both online and offline.
122 virtual void OnPasswordChangeDetected(); 122 virtual void OnPasswordChangeDetected();
123 // The cryptohome is encrypted in old format and needs migration. 123 // The cryptohome is encrypted in old format and needs migration.
124 virtual void OnOldEncryptionDetected(); 124 virtual void OnOldEncryptionDetected(const UserContext& user_context);
125 }; 125 };
126 126
127 } // namespace chromeos 127 } // namespace chromeos
128 128
129 #endif // CHROMEOS_LOGIN_AUTH_AUTH_STATUS_CONSUMER_H_ 129 #endif // CHROMEOS_LOGIN_AUTH_AUTH_STATUS_CONSUMER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.cc ('k') | chromeos/login/auth/auth_status_consumer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698