Index: chrome/browser/autocomplete/history_quick_provider.cc |
diff --git a/chrome/browser/autocomplete/history_quick_provider.cc b/chrome/browser/autocomplete/history_quick_provider.cc |
index de1c711188fcf3f82c8af254f8e4c2e6d6a57d67..d851b6c585696f5c8d1476b525a19c8e448c1219 100644 |
--- a/chrome/browser/autocomplete/history_quick_provider.cc |
+++ b/chrome/browser/autocomplete/history_quick_provider.cc |
@@ -115,8 +115,8 @@ void HistoryQuickProvider::DoAutocomplete() { |
autocomplete_input_.parts().path.is_nonempty()); |
if (can_have_url_what_you_typed_match_first) { |
HistoryService* const history_service = |
- HistoryServiceFactory::GetForProfile(profile_, |
- Profile::EXPLICIT_ACCESS); |
+ HistoryServiceFactory::GetForProfile( |
+ profile_, ServiceAccessType::EXPLICIT_ACCESS); |
// We expect HistoryService to be available. In case it's not, |
// (e.g., due to Profile corruption) we let HistoryQuick provider |
// completions (which may be available because it's a different |
@@ -291,8 +291,8 @@ history::InMemoryURLIndex* HistoryQuickProvider::GetIndex() { |
if (index_for_testing_.get()) |
return index_for_testing_.get(); |
- HistoryService* const history_service = |
- HistoryServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS); |
+ HistoryService* const history_service = HistoryServiceFactory::GetForProfile( |
+ profile_, ServiceAccessType::EXPLICIT_ACCESS); |
if (!history_service) |
return NULL; |