diff options
author | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-28 16:35:26 +0000 |
---|---|---|
committer | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-28 16:35:26 +0000 |
commit | fd868af50ccaded5e7e216bcb095ba46a4c4270a (patch) | |
tree | 728ca612f9c5eb0e677f83327c537e8b6a6ba4c2 /chrome/browser/profiles/profile_manager.h | |
parent | c94c954a13437739a27f89e1cc1dbf6afd3934e7 (diff) | |
download | chromium_src-fd868af50ccaded5e7e216bcb095ba46a4c4270a.zip chromium_src-fd868af50ccaded5e7e216bcb095ba46a4c4270a.tar.gz chromium_src-fd868af50ccaded5e7e216bcb095ba46a4c4270a.tar.bz2 |
ProfileManager: Remove CHECKs.
The cause for the "last profile appears multiple times in the last active profile list"
seems to be that several profiles have the same string representation (GetPath().BaseName()).
crbug.com/120112 addresses that problem and this CL works around it.
BUG=114766
TEST=NONE
Review URL: http://codereview.chromium.org/9853010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129426 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_manager.h')
-rw-r--r-- | chrome/browser/profiles/profile_manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h index 8c07563..296f7ce 100644 --- a/chrome/browser/profiles/profile_manager.h +++ b/chrome/browser/profiles/profile_manager.h @@ -318,6 +318,8 @@ class ProfileManager : public base::NonThreadSafe, // For keeping track of the last active profiles. std::map<Profile*, int> browser_counts_; + // On startup we launch the active profiles in the order they became active + // during the last run. This is why they are kept in a list, not in a set. std::vector<Profile*> active_profiles_; bool shutdown_started_; |