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

Unified Diff: components/user_manager/user_manager_base.h

Issue 2858013002: PS - Showing permission prompt for activeTab (Closed)
Patch Set: Changed permission prompt message 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_manager_base.h
diff --git a/components/user_manager/user_manager_base.h b/components/user_manager/user_manager_base.h
index 70776a72077441725ab4f296962a28b52f8453fa..2e44e71353ec2a21c569e0f2002f87d098ca6a28 100644
--- a/components/user_manager/user_manager_base.h
+++ b/components/user_manager/user_manager_base.h
@@ -132,6 +132,10 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
// and ephemeral users are enabled.
virtual bool AreEphemeralUsersEnabled() const = 0;
+ void AddUserRecordForTesting(User* user) {
+ return AddUserRecord(user);
+ }
+
protected:
// Adds |user| to users list, and adds it to front of LRU list. It is assumed
// that there is no user with same id.
« chrome/browser/extensions/active_tab_unittest.cc ('K') | « components/user_manager/user.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698