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

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

Issue 7275026: Revert 90820 - Multi-Profiles: New Profile Setup UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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/profiles/profile_manager.h ('k') | chrome/browser/resources/new_profile.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager.cc
===================================================================
--- chrome/browser/profiles/profile_manager.cc (revision 90826)
+++ chrome/browser/profiles/profile_manager.cc (working copy)
@@ -16,7 +16,6 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/prefs/scoped_user_pref_update.h"
-#include "chrome/browser/profiles/profile_info_cache.h"
#include "chrome/browser/sessions/session_service_factory.h"
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/ui/browser_window.h"
@@ -505,13 +504,3 @@
std::sort(profiles.begin(), profiles.end(), CompareProfilePathAndName);
return profiles;
}
-
-ProfileInfoCache& ProfileManager::GetProfileInfoCache() {
- if (!profile_info_cache_.get()) {
- FilePath user_data_dir;
- PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
- profile_info_cache_.reset(new ProfileInfoCache(
- g_browser_process->local_state(), user_data_dir));
- }
- return *profile_info_cache_.get();
-}
« no previous file with comments | « chrome/browser/profiles/profile_manager.h ('k') | chrome/browser/resources/new_profile.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698