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

Unified Diff: chromeos/login/auth/user_context.h

Issue 378513005: [Athena] Extract Chrome OS authentication stack (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix includes in one more test 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
« no previous file with comments | « chromeos/login/auth/key_unittest.cc ('k') | chromeos/login/auth/user_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/user_context.h
diff --git a/chrome/browser/chromeos/login/auth/user_context.h b/chromeos/login/auth/user_context.h
similarity index 89%
rename from chrome/browser/chromeos/login/auth/user_context.h
rename to chromeos/login/auth/user_context.h
index 8fcece7b2ea2bca5f385735714a45fe13d39b571..838249562a28957f7ac199c315d615da930a140a 100644
--- a/chrome/browser/chromeos/login/auth/user_context.h
+++ b/chromeos/login/auth/user_context.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_USER_CONTEXT_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_USER_CONTEXT_H_
+#ifndef CHROMEOS_LOGIN_AUTH_USER_CONTEXT_H_
+#define CHROMEOS_LOGIN_AUTH_USER_CONTEXT_H_
#include <string>
-#include "chrome/browser/chromeos/login/auth/key.h"
+#include "chromeos/chromeos_export.h"
+#include "chromeos/login/auth/key.h"
#include "components/user_manager/user_type.h"
namespace chromeos {
@@ -16,7 +17,7 @@ namespace chromeos {
// credentials may consist of a |user_id_|, |key_| pair or a GAIA |auth_code_|.
// The |user_id_hash_| is used to locate the user's home directory
// mount point for the user. It is set when the mount has been completed.
-class UserContext {
+class CHROMEOS_EXPORT UserContext {
public:
// The authentication flow used during sign-in.
enum AuthFlow {
@@ -70,4 +71,4 @@ class UserContext {
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_USER_CONTEXT_H_
+#endif // CHROMEOS_LOGIN_AUTH_USER_CONTEXT_H_
« no previous file with comments | « chromeos/login/auth/key_unittest.cc ('k') | chromeos/login/auth/user_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698