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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 10543043: Merge 138996 - Don't show release notes if in Kiosk Mode. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/src/
Patch Set: Created 8 years, 6 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/chromeos/login/existing_user_controller.cc
===================================================================
--- chrome/browser/chromeos/login/existing_user_controller.cc (revision 140910)
+++ chrome/browser/chromeos/login/existing_user_controller.cc (working copy)
@@ -26,6 +26,7 @@
#include "chrome/browser/chromeos/customization_document.h"
#include "chrome/browser/chromeos/dbus/dbus_thread_manager.h"
#include "chrome/browser/chromeos/dbus/session_manager_client.h"
+#include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h"
#include "chrome/browser/chromeos/login/helper.h"
#include "chrome/browser/chromeos/login/login_display_host.h"
#include "chrome/browser/chromeos/login/login_utils.h"
@@ -805,7 +806,7 @@
void ExistingUserController::OptionallyShowReleaseNotes(
Profile* profile) const {
// TODO(nkostylev): Fix WizardControllerFlowTest case.
- if (!profile)
+ if (!profile || KioskModeSettings::Get()->IsKioskModeEnabled())
return;
PrefService* prefs = profile->GetPrefs();
chrome::VersionInfo version_info;
« 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