| Index: chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
|
| diff --git a/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc b/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
|
| index 024279e9b3556c3210f3172f009e9c866a35161d..3a27a30654cc5d67f688b153c57c635d84bd3d40 100644
|
| --- a/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
|
| +++ b/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
|
| @@ -127,9 +127,8 @@ class AutocompleteActionPredictorTest : public testing::Test {
|
| }
|
|
|
| history::URLID AddRowToHistory(const TestUrlInfo& test_row) {
|
| - HistoryService* history =
|
| - HistoryServiceFactory::GetForProfile(profile_.get(),
|
| - Profile::EXPLICIT_ACCESS);
|
| + HistoryService* history = HistoryServiceFactory::GetForProfile(
|
| + profile_.get(), ServiceAccessType::EXPLICIT_ACCESS);
|
| CHECK(history);
|
| history::URLDatabase* url_db = history->InMemoryDatabase();
|
| CHECK(url_db);
|
| @@ -189,9 +188,8 @@ class AutocompleteActionPredictorTest : public testing::Test {
|
|
|
| void DeleteOldIdsFromCaches(
|
| std::vector<AutocompleteActionPredictorTable::Row::Id>* id_list) {
|
| - HistoryService* history_service =
|
| - HistoryServiceFactory::GetForProfile(profile_.get(),
|
| - Profile::EXPLICIT_ACCESS);
|
| + HistoryService* history_service = HistoryServiceFactory::GetForProfile(
|
| + profile_.get(), ServiceAccessType::EXPLICIT_ACCESS);
|
| ASSERT_TRUE(history_service);
|
|
|
| history::URLDatabase* url_db = history_service->InMemoryDatabase();
|
|
|