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

Unified Diff: chromeos/login/auth/mock_authenticator.cc

Issue 391373002: Refactoring : Move AuthAttempt and Authenticators to chromeos/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge wit ToT Created 6 years, 5 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: chromeos/login/auth/mock_authenticator.cc
diff --git a/chrome/browser/chromeos/login/auth/mock_authenticator.cc b/chromeos/login/auth/mock_authenticator.cc
similarity index 93%
rename from chrome/browser/chromeos/login/auth/mock_authenticator.cc
rename to chromeos/login/auth/mock_authenticator.cc
index 29536b380065427179daf7eac5aee18e3d26012f..7c3fa9e564c668ba42ac83403c19aa4901c23a66 100644
--- a/chrome/browser/chromeos/login/auth/mock_authenticator.cc
+++ b/chromeos/login/auth/mock_authenticator.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/chromeos/login/auth/mock_authenticator.h"
+#include "chromeos/login/auth/mock_authenticator.h"
#include "base/bind.h"
#include "base/logging.h"
@@ -43,13 +43,11 @@ void MockAuthenticator::AuthenticateToLogin(Profile* profile,
AuthFailure::FromNetworkAuthFailure(error)));
}
-void MockAuthenticator::AuthenticateToUnlock(
- const UserContext& user_context) {
+void MockAuthenticator::AuthenticateToUnlock(const UserContext& user_context) {
AuthenticateToLogin(NULL /* not used */, user_context);
}
-void MockAuthenticator::LoginAsSupervisedUser(
- const UserContext& user_context) {
+void MockAuthenticator::LoginAsSupervisedUser(const UserContext& user_context) {
UserContext new_user_context = user_context;
new_user_context.SetUserIDHash(user_context.GetUserID());
consumer_->OnAuthSuccess(new_user_context);

Powered by Google App Engine
This is Rietveld 408576698