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

Unified Diff: chrome/browser/chromeos/login/signin/token_handle_util.h

Issue 1534173003: ChromeOS user_manager: move all KnownUser code to separate file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/FindUsingSAML/IsUsingSAML/ Created 5 years 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: chrome/browser/chromeos/login/signin/token_handle_util.h
diff --git a/chrome/browser/chromeos/login/signin/token_handle_util.h b/chrome/browser/chromeos/login/signin/token_handle_util.h
index 20ef09025765125a08683252c72a83635d0ef81e..85209660da4410bb3f343a67e874abfd8cf354f9 100644
--- a/chrome/browser/chromeos/login/signin/token_handle_util.h
+++ b/chrome/browser/chromeos/login/signin/token_handle_util.h
@@ -21,17 +21,13 @@ namespace base {
class DictionaryValue;
}
-namespace user_manager {
-class UserManager;
-}
-
// This class is responsible for operations with External Token Handle.
// Handle is an extra token associated with OAuth refresh token that have
// exactly same lifetime. It is not secure, and it's only purpose is checking
// validity of corresponding refresh token in the insecure environment.
class TokenHandleUtil {
public:
- explicit TokenHandleUtil(user_manager::UserManager* user_manager);
+ TokenHandleUtil();
~TokenHandleUtil();
enum TokenHandleStatus { VALID, INVALID, UNKNOWN };
@@ -88,9 +84,6 @@ class TokenHandleUtil {
void OnValidationComplete(const std::string& token);
void OnObtainTokenComplete(const AccountId& account_id);
- // UserManager that stores corresponding user data.
- user_manager::UserManager* user_manager_;
-
// Map of pending check operations.
base::ScopedPtrHashMap<std::string, scoped_ptr<TokenDelegate>>
validation_delegates_;

Powered by Google App Engine
This is Rietveld 408576698