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

Unified Diff: chrome/browser/chromeos/login/login_display_host.h

Issue 8395042: [cros,de-hack] Get rid of singleton for the WebUILoginScreen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comment nit Created 9 years, 2 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/chromeos/login/login_display_host.h
diff --git a/chrome/browser/chromeos/login/login_display_host.h b/chrome/browser/chromeos/login/login_display_host.h
index a1d051ac9cae9bf7f8bb85c31d2cc0758b3e82fa..b92b772372c194895aaa29c7d5b281fdc297d3ef 100644
--- a/chrome/browser/chromeos/login/login_display_host.h
+++ b/chrome/browser/chromeos/login/login_display_host.h
@@ -24,8 +24,9 @@ class LoginDisplayHost {
virtual ~LoginDisplayHost() {}
// Creates UI implementation specific login display instance (views/WebUI).
+ // The caller takes ownership of the returned value.
virtual LoginDisplay* CreateLoginDisplay(
- LoginDisplay::Delegate* delegate) const = 0;
+ LoginDisplay::Delegate* delegate) = 0;
// Returns corresponding native window.
// TODO(nkostylev): Might be refactored, move to views-specific code.
« no previous file with comments | « chrome/browser/chromeos/login/login_display.cc ('k') | chrome/browser/chromeos/login/screen_locker_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698