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

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

Issue 119593002: Getting rid of temporary IsGetDefaultProfileAllowed instrumentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/chromeos/power/power_prefs_unittest.cc ('k') | 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 eeae6a573f0c77fd42e133f713e04bc28ddfa229..7bffe26ffcaf88f5823894889002e549f3ec1729 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -76,13 +76,6 @@ class ProfileManager : public base::NonThreadSafe,
// The profile used can be overridden by using --login-profile on cros.
Profile* GetDefaultProfile(const base::FilePath& user_data_dir);
- // DEPRECATED: Temporary measure to ensure that GetDefaultProfile() is not
- // called before CreateProfile() is called in chrome_browser_main.cc.
- // If GetDefaultProfile() or GetDefaultProfileOrOffTheRecord() is called
- // before this, a CHECK will be triggered.
- static void AllowGetDefaultProfile();
- static bool IsGetDefaultProfileAllowed();
-
// DEPRECATED: DO NOT USE unless in ChromeOS.
// Same as instance method but provides the default user_data_dir as well.
// Note that in case of a guest account this will return a 'suitable' profile.
« no previous file with comments | « chrome/browser/chromeos/power/power_prefs_unittest.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698