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

Unified Diff: chrome/test/base/testing_profile_manager.cc

Issue 2945023002: Introduce profile for lock screen apps (Closed)
Patch Set: rebase 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
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | extensions/browser/process_map_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile_manager.cc
diff --git a/chrome/test/base/testing_profile_manager.cc b/chrome/test/base/testing_profile_manager.cc
index a55f440979236424ab3f6b2dfc736f65bda5d1e3..e4f55f8ee6049ce1e47abe1cad82d8968918984e 100644
--- a/chrome/test/base/testing_profile_manager.cc
+++ b/chrome/test/base/testing_profile_manager.cc
@@ -70,7 +70,8 @@ TestingProfile* TestingProfileManager::CreateTestingProfile(
// Create a path for the profile based on the name.
base::FilePath profile_path(profiles_dir_.GetPath());
#if defined(OS_CHROMEOS)
- if (profile_name != chrome::kInitialProfile) {
+ if (profile_name != chrome::kInitialProfile &&
+ profile_name != chromeos::ProfileHelper::GetLockScreenAppProfileName()) {
profile_path =
profile_path.Append(chromeos::ProfileHelper::Get()->GetUserProfileDir(
chromeos::ProfileHelper::GetUserIdHashByUserIdForTesting(
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | extensions/browser/process_map_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698