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

Unified Diff: chrome/browser/chromeos/file_manager/volume_manager.cc

Issue 2945023002: Introduce profile for lock screen apps (Closed)
Patch Set: . Created 3 years, 6 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/file_manager/volume_manager.cc
diff --git a/chrome/browser/chromeos/file_manager/volume_manager.cc b/chrome/browser/chromeos/file_manager/volume_manager.cc
index 191e334797d915265ae1ff14f40d7f71dcfbe8fc..d69fff8510ec67632f89b6a84d849dd3113290ea 100644
--- a/chrome/browser/chromeos/file_manager/volume_manager.cc
+++ b/chrome/browser/chromeos/file_manager/volume_manager.cc
@@ -348,8 +348,10 @@ VolumeManager* VolumeManager::Get(content::BrowserContext* context) {
void VolumeManager::Initialize() {
// If in Sign in profile, then skip mounting and listening for mount events.
- if (chromeos::ProfileHelper::IsSigninProfile(profile_))
+ if (chromeos::ProfileHelper::IsSigninProfile(profile_) ||
+ chromeos::ProfileHelper::IsLockScreenAppProfile(profile_)) {
return;
+ }
// Register 'Downloads' folder for the profile to the file system.
const base::FilePath downloads =

Powered by Google App Engine
This is Rietveld 408576698