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

Unified Diff: chrome/browser/profile_manager.cc

Issue 3075022: Delete AvailableProfile (et al.) in browser/profile_manager.*. (Closed)
Patch Set: Created 10 years, 4 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 | « chrome/browser/profile_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile_manager.cc
diff --git a/chrome/browser/profile_manager.cc b/chrome/browser/profile_manager.cc
index 15533bb2053319434be9ae1214d318a68d0b6be3..9eae3f5fb378b6fd349ff820d3bfe810bb7c4816 100644
--- a/chrome/browser/profile_manager.cc
+++ b/chrome/browser/profile_manager.cc
@@ -71,12 +71,6 @@ ProfileManager::~ProfileManager() {
for (const_iterator i(begin()); i != end(); ++i)
delete *i;
profiles_.clear();
-
- // Get rid of available profile list
- for (AvailableProfileVector::const_iterator i(available_profiles_.begin());
- i != available_profiles_.end(); ++i)
- delete *i;
- available_profiles_.clear();
}
FilePath ProfileManager::GetDefaultProfileDir(
« no previous file with comments | « chrome/browser/profile_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698