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

Unified Diff: chrome/browser/profiles/profile_manager.h

Issue 13633003: Part of multiprofile implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
Index: chrome/browser/profiles/profile_manager.h
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
index 71139bc225fb49fe66b2a92ea2cdbdc614bd99d3..3f829e2d678956f6846e1eb1b574b249ece4ea15 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -63,6 +63,14 @@ class ProfileManager : public base::NonThreadSafe,
// if guest login.
static Profile* GetDefaultProfileOrOffTheRecord();
+#if defined(OS_CHROMEOS)
+ // Returns OffTheRecord profile for usign during signing phase.
Nikita (slow) 2013/04/04 12:59:13 nit: Returns OffTheRecord profile used during user
+ Profile* GetSigninProfile(const base::FilePath& user_data_dir);
sail 2013/04/04 14:38:37 Can we keep this out of ProfileManager? Maybe put
Nikita (slow) 2013/04/04 14:50:05 I think that we could not get this code out of Pr
sail 2013/04/04 15:09:34 Currently profile manager is a very very large cla
dzhioev (left Google) 2013/04/04 15:54:41 * I'm not sure that we can implement GetSigninProf
+
+ // Returns OffTheRecord profile for usign during signing phase.
Nikita (slow) 2013/04/04 12:59:13 nit: Drop second comment, place both methods one a
+ static Profile* GetSigninProfile();
+#endif
+
// 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.

Powered by Google App Engine
This is Rietveld 408576698