Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6400)

Unified Diff: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc

Issue 839193002: Move ServiceAccessType into //components/keyed_service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on android Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
index b476dc472a234b55d8d30ff8e4d55bdf53438dfb..972d169b60c40f1b87acd52d704dcbb1f3ec1892 100644
--- a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
@@ -192,10 +192,9 @@ class SyncAutofillDataTypeControllerTest : public testing::Test {
// immediately try to start association and fail (due to missing DB
// thread).
TEST_F(SyncAutofillDataTypeControllerTest, StartWDSReady) {
- FakeWebDataService* web_db =
- static_cast<FakeWebDataService*>(
- WebDataServiceFactory::GetAutofillWebDataForProfile(
- &profile_, Profile::EXPLICIT_ACCESS).get());
+ FakeWebDataService* web_db = static_cast<FakeWebDataService*>(
+ WebDataServiceFactory::GetAutofillWebDataForProfile(
+ &profile_, ServiceAccessType::EXPLICIT_ACCESS).get());
web_db->LoadDatabase();
autofill_dtc_->LoadModels(
base::Bind(&SyncAutofillDataTypeControllerTest::OnLoadFinished,
@@ -228,7 +227,7 @@ TEST_F(SyncAutofillDataTypeControllerTest, StartWDSNotReady) {
FakeWebDataService* web_db = static_cast<FakeWebDataService*>(
WebDataServiceFactory::GetAutofillWebDataForProfile(
- &profile_, Profile::EXPLICIT_ACCESS).get());
+ &profile_, ServiceAccessType::EXPLICIT_ACCESS).get());
web_db->LoadDatabase();
autofill_dtc_->StartAssociating(

Powered by Google App Engine
This is Rietveld 408576698