Index: chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc |
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc |
index 8e5200f6ecb1122b512e853f53ef9067f4d13c7a..c4bd0dd9080a14f966e346ce1499fa8eaed48a85 100644 |
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc |
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc |
@@ -275,3 +275,9 @@ void SyncPromoHandler::RecordUserFlowAction(int action) { |
UMA_HISTOGRAM_ENUMERATION("SyncPromo.UserFlow", action, |
SYNC_PROMO_BUCKET_BOUNDARY); |
} |
+ |
+void SyncPromoHandler::CloseUI() { |
+ // Callers should not ever try to close the promo UI (should only call |
+ // CloseUI() if the user is already logged in). |
+ NOTREACHED() << "Cannot close the promo UI"; |
+} |