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

Unified Diff: chrome/browser/profile_manager.h

Issue 1094009: Ensure that data doesn't leak between users on cros chrome crash. (Closed)
Patch Set: Make tests not use OTR Profile Created 10 years, 9 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/process_singleton_win.cc ('k') | chrome/browser/profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile_manager.h
diff --git a/chrome/browser/profile_manager.h b/chrome/browser/profile_manager.h
index 0e6e8dbd233e3b088af01d070f8d11c13bdcc472..2981225acefec18ee2d520841cb8f9aee72579b9 100644
--- a/chrome/browser/profile_manager.h
+++ b/chrome/browser/profile_manager.h
@@ -74,15 +74,15 @@ class ProfileManager : public NonThreadSafe,
// Invokes ShutdownSessionService() on all profiles.
static void ShutdownSessionServices();
- // Returns profile to use for Chrome in login wizard mode.
- static Profile* GetLoginWizardProfile();
-
// Returns the default profile. This adds the profile to the
// ProfileManager if it doesn't already exist. This method returns NULL if
// the profile doesn't exist and we can't create it.
- // The profile used can be overridden by using --profile on
+ // The profile used can be overridden by using --login-profile on cros.
Profile* GetDefaultProfile(const FilePath& user_data_dir);
+ // Same as instance method but provides the default user_data_dir as well.
+ static Profile* GetDefaultProfile();
+
// Returns a profile for a specific profile directory within the user data
// dir. This will return an existing profile it had already been created,
// otherwise it will create and manage it.
« no previous file with comments | « chrome/browser/process_singleton_win.cc ('k') | chrome/browser/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698