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

Unified Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 9812039: Fixed OOBE start up for Linux desktop use cases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
index 1de50d3156915b808888625fb7bf58ba7165a7d8..6ce6603505d301b3a869d0aaf7e26039e4a8f2f9 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
@@ -84,6 +84,7 @@ void OobeUIHTMLSource::StartDataRequest(const std::string& path,
bool is_incognito,
int request_id) {
if (UserManager::Get()->IsUserLoggedIn() &&
+ !UserManager::Get()->IsLoggedInAsStub() &&
rkc 2012/03/22 03:02:34 UserManager::Get()->IsUserLoggedIn() should not be
pastarmovj 2012/03/22 10:39:24 This was my first thought too but after discussing
!ScreenLocker::default_screen_locker()) {
scoped_refptr<RefCountedBytes> empty_bytes(new RefCountedBytes());
SendResponse(request_id, empty_bytes);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698