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

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

Issue 937713003: Add several new TRACE call and UMA metrics for GetProfile() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 5 years, 10 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 c16b6df8736a59c25eccfc0b8a68ef5fd76339b6..1b3e8ed5798d39331ab14d99b2225ac21426430f 100644
--- a/chrome/browser/profiles/profile_manager.h
+++ b/chrome/browser/profiles/profile_manager.h
@@ -76,6 +76,9 @@ class ProfileManager : public base::NonThreadSafe,
// otherwise it will create and manage it.
Profile* GetProfile(const base::FilePath& profile_dir);
+ // Creates and returns a profile.
+ Profile* SetupProfile(const base::FilePath& profile_dir);
noms (inactive) 2015/02/18 18:55:25 I don't think this is right. Is it just for testin
rkaplow 2015/02/18 19:58:57 Was just in error it was not private, it's intende
+
// Returns total number of profiles available on this machine.
size_t GetNumberOfProfiles();

Powered by Google App Engine
This is Rietveld 408576698