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

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

Issue 9691032: Use OffTheRecord profile in case of GuestLogin for AppList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 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 | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager.h
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
index 5cc609032f61d0fabbedeaa7e26d6305d2d65cd2..8c07563272ccc993b32bea72fc6055a7bdec2694 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -59,6 +59,11 @@ class ProfileManager : public base::NonThreadSafe,
// Same as instance method but provides the default user_data_dir as well.
static Profile* GetDefaultProfile();
+ // DEPRECATED: DO NOT USE unless in ChromeOS.
+ // Same as GetDefaultProfile() but returns OffTheRecord profile
+ // if guest login.
+ static Profile* GetDefaultProfileOrOffTheRecord();
+
// 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 | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698