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.h

Issue 391373002: Refactoring : Move AuthAttempt and Authenticators to chromeos/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with 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.h
diff --git a/chrome/browser/chromeos/login/auth/mock_authenticator.h b/chromeos/login/auth/mock_authenticator.h
similarity index 80%
rename from chrome/browser/chromeos/login/auth/mock_authenticator.h
rename to chromeos/login/auth/mock_authenticator.h
index 70adbc0c5ebebdeefca12fb0de8d5c3fbdcd48b5..2ac478f87e144aa88a3bf223939dba770359f16a 100644
--- a/chrome/browser/chromeos/login/auth/mock_authenticator.h
+++ b/chromeos/login/auth/mock_authenticator.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_
+#ifndef CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_
+#define CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_
#include <string>
-#include "chrome/browser/chromeos/login/auth/authenticator.h"
+#include "chromeos/chromeos_export.h"
+#include "chromeos/login/auth/authenticator.h"
#include "chromeos/login/auth/user_context.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -17,7 +18,7 @@ namespace chromeos {
class AuthStatusConsumer;
-class MockAuthenticator : public Authenticator {
+class CHROMEOS_EXPORT MockAuthenticator : public Authenticator {
public:
MockAuthenticator(AuthStatusConsumer* consumer,
const UserContext& expected_user_context);
@@ -38,8 +39,7 @@ class MockAuthenticator : public Authenticator {
virtual void OnRetailModeAuthSuccess() OVERRIDE;
virtual void OnAuthSuccess() OVERRIDE;
virtual void OnAuthFailure(const AuthFailure& failure) OVERRIDE;
- virtual void RecoverEncryptedData(
- const std::string& old_password) OVERRIDE;
+ virtual void RecoverEncryptedData(const std::string& old_password) OVERRIDE;
virtual void ResyncEncryptedData() OVERRIDE;
virtual void SetExpectedCredentials(const UserContext& user_context);
@@ -55,4 +55,4 @@ class MockAuthenticator : public Authenticator {
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_
+#endif // CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_

Powered by Google App Engine
This is Rietveld 408576698