Home | History | Annotate | Download | only in history

Lines Matching refs:Profile

17     Profile* profile, Profile::ServiceAccessType sat) {
19 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) &&
20 sat != Profile::EXPLICIT_ACCESS)
24 GetInstance()->GetServiceForBrowserContext(profile, true));
30 Profile* profile, Profile::ServiceAccessType sat) {
32 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) &&
33 sat != Profile::EXPLICIT_ACCESS)
37 GetInstance()->GetServiceForBrowserContext(profile, false));
42 HistoryServiceFactory::GetForProfileWithoutCreating(Profile* profile) {
44 GetInstance()->GetServiceForBrowserContext(profile, false));
53 void HistoryServiceFactory::ShutdownForProfile(Profile* profile) {
55 factory->BrowserContextDestroyed(profile);
70 Profile* profile = static_cast<Profile*>(context);
71 HistoryService* history_service = new HistoryService(profile);
72 if (!history_service->Init(profile->GetPath(),
73 BookmarkModelFactory::GetForProfile(profile))) {