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

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

Issue 16290004: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 d5b827e53ab5c16d00a9a7d304282dd879238408..4d1b292bffb1a08e456c4a10bee31020398b5bdf 100644
--- a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
@@ -247,7 +247,7 @@ TEST_F(SyncAutofillDataTypeControllerTest, StartWDSReady) {
base::Bind(&SyncAutofillDataTypeControllerTest::OnLoadFinished,
weak_ptr_factory_.GetWeakPtr()));
- EXPECT_CALL(*change_processor_, Connect(_,_,_,_,_))
+ EXPECT_CALL(*change_processor_.get(), Connect(_, _, _, _, _))
.WillOnce(Return(base::WeakPtr<syncer::SyncableService>()));
autofill_dtc_->StartAssociating(
base::Bind(&SyncAutofillDataTypeControllerTest::OnStartFinished,
@@ -277,7 +277,7 @@ TEST_F(SyncAutofillDataTypeControllerTest, StartWDSNotReady) {
AutofillWebDataService::FromBrowserContext(&profile_).get());
web_db->LoadDatabase();
- EXPECT_CALL(*change_processor_, Connect(_,_,_,_,_))
+ EXPECT_CALL(*change_processor_.get(), Connect(_, _, _, _, _))
.WillOnce(Return(base::WeakPtr<syncer::SyncableService>()));
autofill_dtc_->StartAssociating(
base::Bind(&SyncAutofillDataTypeControllerTest::OnStartFinished,
@@ -309,7 +309,7 @@ TEST_F(SyncAutofillDataTypeControllerTest, UpdateAutofillCullingSettings) {
EXPECT_FALSE(web_db->CheckAutofillCullingValue());
- EXPECT_CALL(*change_processor_, Connect(_,_,_,_,_))
+ EXPECT_CALL(*change_processor_.get(), Connect(_, _, _, _, _))
.WillOnce(Return(base::WeakPtr<syncer::SyncableService>()));
autofill_dtc_->StartAssociating(
base::Bind(&SyncAutofillDataTypeControllerTest::OnStartFinished,

Powered by Google App Engine
This is Rietveld 408576698