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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.h

Issue 1412813003: This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Fix Win GN build. Created 5 years, 1 month 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/session/user_session_manager.h
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.h b/chrome/browser/chromeos/login/session/user_session_manager.h
index dee2273dc6aeb43664101d8e7e5f75b17a3e8abb..755132cd1eb6b7b2f2852c93dc30c558c600ff1a 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.h
+++ b/chrome/browser/chromeos/login/session/user_session_manager.h
@@ -24,6 +24,7 @@
#include "net/base/network_change_notifier.h"
#include "ui/base/ime/chromeos/input_method_manager.h"
+class AccountId;
class GURL;
class PrefRegistrySimple;
class PrefService;
@@ -300,7 +301,7 @@ class UserSessionManager
// Profile is created, extensions and promo resources are initialized.
void UserProfileInitialized(Profile* profile,
bool is_incognito_profile,
- const std::string& user_id);
+ const AccountId& account_id);
// Callback to resume profile creation after transferring auth data from
// the authentication profile.
@@ -368,7 +369,7 @@ class UserSessionManager
const locale_util::LanguageSwitchResult& result);
// Callback invoked when |token_handle_util_| has finished.
- void OnTokenHandleObtained(const user_manager::UserID& id, bool success);
+ void OnTokenHandleObtained(const AccountId& account_id, bool success);
// Returns |true| if token handles should be used on this device.
bool TokenHandlesEnabled();

Powered by Google App Engine
This is Rietveld 408576698