Home | History | Annotate | Download | only in sessions

Lines Matching refs:profile

7 #include "chrome/browser/profiles/profile.h"
13 SessionService* SessionServiceFactory::GetForProfile(Profile* profile) {
19 GetInstance()->GetServiceForBrowserContext(profile, true));
25 Profile* profile) {
31 GetInstance()->GetServiceForBrowserContext(profile, false));
37 Profile* profile) {
38 SessionService* service = GetForProfile(profile);
41 // |profile| so GetForProfile will recreate it.
42 GetInstance()->Disassociate(profile);
43 service = GetForProfile(profile);
49 void SessionServiceFactory::ShutdownForProfile(Profile* profile) {
50 DeleteSessionOnlyData(profile);
56 factory->GetServiceForBrowserContext(profile, true);
60 factory->BrowserContextShutdown(profile);
61 factory->BrowserContextDestroyed(profile);
62 factory->Associate(profile, NULL);
79 content::BrowserContext* profile) const {
81 service = new SessionService(static_cast<Profile*>(profile));