Index: chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc |
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc |
index b548d1ef2c9a616afb3f2fbe8ec80abcc93b4621..0310b3c77cf9cd527ef9ca08d09431bab4a900c3 100644 |
--- a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc |
+++ b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc |
@@ -66,15 +66,16 @@ void ChromeAutocompleteProviderClient::Classify( |
} |
history::URLDatabase* ChromeAutocompleteProviderClient::InMemoryDatabase() { |
- HistoryService* history_service = |
- HistoryServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS); |
+ HistoryService* history_service = HistoryServiceFactory::GetForProfile( |
+ profile_, ServiceAccessType::EXPLICIT_ACCESS); |
return history_service ? history_service->InMemoryDatabase() : NULL; |
} |
void ChromeAutocompleteProviderClient::DeleteMatchingURLsForKeywordFromHistory( |
history::KeywordID keyword_id, |
const base::string16& term) { |
- HistoryServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS) |
+ HistoryServiceFactory::GetForProfile(profile_, |
+ ServiceAccessType::EXPLICIT_ACCESS) |
->DeleteMatchingURLsForKeyword(keyword_id, term); |
} |