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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc

Issue 15949029: Use a direct include of utf_string_conversions.h in chrome/browser/ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/prefs/pref_service.h" 12 #include "base/prefs/pref_service.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/stringprintf.h" 15 #include "base/stringprintf.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/browser_process_platform_part_chromeos.h" 18 #include "chrome/browser/browser_process_platform_part_chromeos.h"
19 #include "chrome/browser/browser_shutdown.h" 19 #include "chrome/browser/browser_shutdown.h"
20 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" 20 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h"
21 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h" 21 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h"
22 #include "chrome/browser/chromeos/login/hwid_checker.h" 22 #include "chrome/browser/chromeos/login/hwid_checker.h"
23 #include "chrome/browser/chromeos/login/login_display_host_impl.h" 23 #include "chrome/browser/chromeos/login/login_display_host_impl.h"
24 #include "chrome/browser/chromeos/login/screen_locker.h" 24 #include "chrome/browser/chromeos/login/screen_locker.h"
25 #include "chrome/browser/chromeos/login/user.h" 25 #include "chrome/browser/chromeos/login/user.h"
26 #include "chrome/browser/chromeos/login/webui_login_display.h" 26 #include "chrome/browser/chromeos/login/webui_login_display.h"
(...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 if (!cros_settings) 1636 if (!cros_settings)
1637 return false; 1637 return false;
1638 1638
1639 // Offline login is allowed only when user pods are hidden. 1639 // Offline login is allowed only when user pods are hidden.
1640 bool show_pods; 1640 bool show_pods;
1641 cros_settings->GetBoolean(kAccountsPrefShowUserNamesOnSignIn, &show_pods); 1641 cros_settings->GetBoolean(kAccountsPrefShowUserNamesOnSignIn, &show_pods);
1642 return !show_pods; 1642 return !show_pods;
1643 } 1643 }
1644 1644
1645 } // namespace chromeos 1645 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698