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

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: Review feedback. 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..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";
+}
« no previous file with comments | « chrome/browser/ui/webui/sync_promo/sync_promo_handler.h ('k') | chrome/browser/ui/webui/sync_setup_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698