Index: chrome/browser/sync_file_system/drive_file_sync_client_unittest.cc |
diff --git a/chrome/browser/sync_file_system/drive_file_sync_client_unittest.cc b/chrome/browser/sync_file_system/drive_file_sync_client_unittest.cc |
index f42bc49be9984faa4d12f968b7d9560228da6f2f..4850252c24236303e8fe672d254ab42fd3838dc2 100644 |
--- a/chrome/browser/sync_file_system/drive_file_sync_client_unittest.cc |
+++ b/chrome/browser/sync_file_system/drive_file_sync_client_unittest.cc |
@@ -136,6 +136,7 @@ class DriveFileSyncClientTest : public testing::Test { |
fake_drive_uploader_ = new FakeDriveUploader; |
EXPECT_CALL(*mock_drive_service_, Initialize(&profile_)).Times(1); |
+ EXPECT_CALL(*mock_drive_service_, AddObserver(_)); |
sync_client_ = DriveFileSyncClient::CreateForTesting( |
&profile_, |
@@ -144,6 +145,7 @@ class DriveFileSyncClientTest : public testing::Test { |
} |
virtual void TearDown() OVERRIDE { |
+ EXPECT_CALL(*mock_drive_service_, RemoveObserver(_)); |
EXPECT_CALL(*mock_drive_service(), CancelAll()); |
sync_client_.reset(); |
} |