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

Unified Diff: components/user_manager/user.h

Issue 2858013002: PS - Showing permission prompt for activeTab (Closed)
Patch Set: Update a unittest (.mm) Created 3 years, 7 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: components/user_manager/user.h
diff --git a/components/user_manager/user.h b/components/user_manager/user.h
index fecc33bec1de68c1e48974050722d78b045c7899..032e9841b1309e6c22698238e0e94421f107eb9d 100644
--- a/components/user_manager/user.h
+++ b/components/user_manager/user.h
@@ -190,6 +190,10 @@ class USER_MANAGER_EXPORT User : public UserInfo {
// True if the user Profile is created.
bool is_profile_created() const { return profile_is_created_; }
+ static User* CreatePublicAccountUserForTesting(const AccountId& account_id) {
+ return CreatePublicAccountUser(account_id);
+ }
+
protected:
friend class UserManagerBase;
friend class chromeos::ChromeUserManagerImpl;

Powered by Google App Engine
This is Rietveld 408576698