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

Unified Diff: chrome/browser/chromeos/login/user_manager.h

Issue 14306004: Put Kiosk App parameters into device settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: chrome/browser/chromeos/login/user_manager.h
diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h
index 6caecc58a75632025f99517f11308efdfae5b5cd..20b26255dfe5b1c75c671763db78d34e964474ae 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -84,6 +84,13 @@ class UserManager {
// Registers user manager preferences.
static void RegisterPrefs(PrefRegistrySimple* registry);
+ // Parses a Kiosk App user ID. Fills in |app_id| and returns true on success.
+ static bool ParseKioskAppUserId(const std::string& user_id,
+ std::string* app_id);
+
+ // Formats a Kiosk App user ID for a given |app_id|.
+ static std::string FormatKioskAppUserId(const std::string& app_id);
+
virtual ~UserManager();
virtual UserImageManager* GetUserImageManager() = 0;

Powered by Google App Engine
This is Rietveld 408576698