Index: chrome/browser/sync/sync_global_error_unittest.cc |
=================================================================== |
--- chrome/browser/sync/sync_global_error_unittest.cc (revision 144216) |
+++ chrome/browser/sync/sync_global_error_unittest.cc (working copy) |
@@ -105,6 +105,13 @@ |
EXPECT_FALSE(error->GetBubbleViewTitle().empty()); |
#if defined(OS_CHROMEOS) |
+ // TODO(altimofeev): Implement this in a way that doesn't involve subclassing |
+ // Browser or using GMock on browser/ui types which is |
+ // banned. Consider observing NOTIFICATION_APP_TERMINATING |
+ // instead. |
+ // http://crbug.com/134675 |
+#else |
+#if defined(OS_CHROMEOS) |
if (error_state != GoogleServiceAuthError::NONE) { |
// In CrOS sign-in/sign-out is made to fix the error. |
EXPECT_CALL(*static_cast<BrowserMock*>(browser), |
@@ -121,6 +128,7 @@ |
error->BubbleViewDidClose(browser); |
} |
#endif |
+#endif |
} |
} // namespace |