Searched refs:user_id_hash (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_handler_parameters.h17 std::string user_id_hash; member in struct:policy::PolicyHandlerParameters
/external/chromium_org/chrome/browser/chromeos/profiles/
H A Dprofile_helper.cc29 bool ShouldAddProfileDirPrefix(const std::string& user_id_hash) { argument
36 return user_id_hash != chrome::kLegacyProfileDir &&
37 user_id_hash != chrome::kTestUserProfileDir;
78 const std::string& user_id_hash) {
80 return profile_manager->GetProfile(GetProfilePathByUserIdHash(user_id_hash));
85 const std::string& user_id_hash) {
90 DCHECK(!user_id_hash.empty());
94 return profile_path.Append(GetUserProfileDir(user_id_hash));
135 const std::string& user_id_hash) {
136 CHECK(!user_id_hash
77 GetProfileByUserIdHash( const std::string& user_id_hash) argument
84 GetProfilePathByUserIdHash( const std::string& user_id_hash) argument
134 GetUserProfileDir( const std::string& user_id_hash) argument
[all...]
H A Dprofile_helper.h41 // 3. Get mapping from user_id_hash to Profile instance/profile path etc.
55 // Returns Profile instance that corresponds to |user_id_hash|.
56 static Profile* GetProfileByUserIdHash(const std::string& user_id_hash);
58 // Returns profile path that corresponds to a given |user_id_hash|.
60 const std::string& user_id_hash);
72 // Returns user profile dir in a format [u-user_id_hash].
73 static base::FilePath GetUserProfileDir(const std::string& user_id_hash);
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dpath_util_unittest.cc75 const std::string user_id_hash = local
77 ASSERT_EQ(base::FilePath::FromUTF8Unsafe("/special/drive-" + user_id_hash),
/external/chromium_org/chrome/browser/download/
H A Ddownload_dir_policy_handler.cc78 if (!parameters.user_id_hash.empty()) {
80 parameters.user_id_hash)
H A Ddownload_dir_policy_handler_unittest.cc60 parameters->user_id_hash = kUserIDHash;
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
H A Dwallpaper_manager.cc119 const std::string& user_id_hash) {
121 base::FilePath to_path = base_path.Append(user_id_hash);
166 // Creates all new custom wallpaper directories for |user_id_hash| if not exist.
168 void EnsureCustomWallpaperDirectories(const std::string& user_id_hash) { argument
171 dir = dir.Append(user_id_hash);
175 dir = dir.Append(user_id_hash);
179 dir = dir.Append(user_id_hash);
183 dir = dir.Append(user_id_hash);
822 const std::string& user_id_hash,
825 return custom_wallpaper_path.Append(user_id_hash)
117 MoveCustomWallpaperDirectory(const char* sub_dir, const std::string& user_id, const std::string& user_id_hash) argument
820 GetCustomWallpaperPath( const char* sub_dir, const std::string& user_id_hash, const std::string& file) argument
857 SetCustomWallpaperOnSanitizedUsername( const std::string& user_id, const gfx::ImageSkia& image, bool update_wallpaper, bool cryptohome_success, const std::string& user_id_hash) argument
874 SetCustomWallpaper( const std::string& user_id, const std::string& user_id_hash, const std::string& file, ash::WallpaperLayout layout, user_manager::User::WallpaperType type, const gfx::ImageSkia& image, bool update_wallpaper) argument
1014 SaveCustomWallpaper(const std::string& user_id_hash, const base::FilePath& original_path, ash::WallpaperLayout layout, scoped_ptr<gfx::ImageSkia> image) argument
1058 MoveCustomWallpapersOnWorker( const std::string& user_id, const std::string& user_id_hash, base::WeakPtr<WallpaperManager> weak_ptr) argument
1547 MoveCustomWallpapersSuccess( const std::string& user_id, const std::string& user_id_hash) argument
[all...]
H A Dwallpaper_manager.h231 // Returns custom wallpaper path. Append |sub_dir|, |user_id_hash| and |file|
234 const std::string& user_id_hash,
266 // Calls SetCustomWallpaper() with |user_id_hash| received from cryptohome.
271 const std::string& user_id_hash);
277 const std::string& user_id_hash,
368 static void SaveCustomWallpaper(const std::string& user_id_hash,
373 // Moves custom wallpapers from |user_id| directory to |user_id_hash|
377 const std::string& user_id_hash,
458 const std::string& user_id_hash);
462 // user_id_hash instea
[all...]
/external/chromium_org/chromeos/login/auth/
H A Duser_context.h59 void SetUserIDHash(const std::string& user_id_hash);
H A Duser_context.cc122 void UserContext::SetUserIDHash(const std::string& user_id_hash) { argument
123 user_id_hash_ = user_id_hash;
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dwallpaper_private_api.cc102 static void MinimizeInactiveWindows(const std::string& user_id_hash);
106 static void RestoreWindows(const std::string& user_id_hash);
114 // All the windows are saved in a map and the key value is |user_id_hash|.
116 const std::string& user_id_hash, aura::Window* active_window);
118 // Unminimize all the stored windows for |user_id_hash|.
119 void RestoreMinimizedWindows(const std::string& user_id_hash);
139 const std::string& user_id_hash) {
143 user_id_hash, ash::wm::GetActiveWindow());
147 void WindowStateManager::RestoreWindows(const std::string& user_id_hash) { argument
154 g_window_state_manager->RestoreMinimizedWindows(user_id_hash);
138 MinimizeInactiveWindows( const std::string& user_id_hash) argument
165 BuildWindowListAndMinimizeInactiveForUser( const std::string& user_id_hash, aura::Window* active_window) argument
192 RestoreMinimizedWindows( const std::string& user_id_hash) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/networking_private/
H A Dnetworking_private_chromeos.cc160 std::string user_id_hash; local
161 if (!GetUserIdHash(browser_context_, &user_id_hash, &error)) {
167 user_id_hash,
220 std::string user_id_hash, error; local
222 if (!shared && !GetUserIdHash(browser_context_, &user_id_hash, &error)) {
228 user_id_hash,
/external/chromium_org/chromeos/dbus/
H A Dfake_session_manager_client.cc52 std::string user_id_hash = local
54 user_sessions_[user_email] = user_id_hash;
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfile_system_util.cc107 const std::string user_id_hash) {
114 (user_id_hash.empty() ? "" : "-" + user_id_hash), false));
106 GetDriveMountPointPathForUserIdHash( const std::string user_id_hash) argument
H A Dfile_system_util.h63 // "/special/drive-<username_hash>", when provided with the |user_id_hash|.
64 base::FilePath GetDriveMountPointPathForUserIdHash(std::string user_id_hash);
H A Dfile_system_util_unittest.cc59 const std::string user_id_hash = local
61 EXPECT_EQ(base::FilePath::FromUTF8Unsafe("/special/drive-" + user_id_hash),
/external/chromium_org/chrome/browser/chromeos/
H A Dchrome_browser_main_chromeos.cc439 // In case of multi-profiles --login-profile will contain user_id_hash.
440 std::string user_id_hash = local
442 user_manager->UserLoggedIn(user_id, user_id_hash, true);
444 << " with hash: " << user_id_hash; local
/external/chromium_org/components/user_manager/
H A Duser_manager_base.h52 const std::string& user_id_hash,
/external/chromium_org/chrome/browser/chromeos/login/session/
H A Duser_session_manager.cc982 std::string user_id_hash = it->second; local
984 DCHECK(!user_id_hash.empty());
1004 user_context.SetUserIDHash(user_id_hash);
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_manager_unittest.cc158 const std::string user_id_hash = local
161 user_id, user_id_hash, false);
163 profile_helper->GetProfilePathByUserIdHash(user_id_hash));
/external/chromium_org/chrome/browser/policy/
H A Dconfiguration_policy_handler_list_factory.cc543 parameters->user_id_hash = user->username_hash();

Completed in 258 milliseconds