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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc

Issue 10192005: Refactor LoginUIService to not rely on WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/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..41dd7e43cef0df0b124f4e5c8d89f452c01b6e5d 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,8 @@ void SyncPromoHandler::RecordUserFlowAction(int action) {
UMA_HISTOGRAM_ENUMERATION("SyncPromo.UserFlow", action,
SYNC_PROMO_BUCKET_BOUNDARY);
}
+
+void SyncPromoHandler::CloseUI() {
+ // We shouldn't ever try to close the promo UI.
+ NOTREACHED() << "Cannot close the promo UI";
+}

Powered by Google App Engine
This is Rietveld 408576698