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

Side by Side Diff: chrome/browser/chromeos/login/login_utils.cc

Issue 12789008: Revert 189176 "Manually merge 188038" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1410/src/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/thread_proxy.cc ('k') | content/browser/renderer_host/image_transport_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/chromeos/login/login_utils.h" 5 #include "chrome/browser/chromeos/login/login_utils.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_switches.h" 10 #include "ash/ash_switches.h"
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 ::switches::kRendererStartupDialog, 776 ::switches::kRendererStartupDialog,
777 #if defined(USE_XI2_MT) 777 #if defined(USE_XI2_MT)
778 ::switches::kTouchCalibration, 778 ::switches::kTouchCalibration,
779 #endif 779 #endif
780 ::switches::kTouchDevices, 780 ::switches::kTouchDevices,
781 ::switches::kTouchEvents, 781 ::switches::kTouchEvents,
782 ::switches::kTouchOptimizedUI, 782 ::switches::kTouchOptimizedUI,
783 ::switches::kOldCheckboxStyle, 783 ::switches::kOldCheckboxStyle,
784 ::switches::kUIEnablePartialSwap, 784 ::switches::kUIEnablePartialSwap,
785 ::switches::kUIEnableThreadedCompositing, 785 ::switches::kUIEnableThreadedCompositing,
786 ::switches::kUIMaxFramesPending,
787 ::switches::kUIPrioritizeInGpuProcess, 786 ::switches::kUIPrioritizeInGpuProcess,
788 #if defined(USE_CRAS) 787 #if defined(USE_CRAS)
789 ::switches::kUseCras, 788 ::switches::kUseCras,
790 #endif 789 #endif
791 ::switches::kUseGL, 790 ::switches::kUseGL,
792 ::switches::kUserDataDir, 791 ::switches::kUserDataDir,
793 ::switches::kUseExynosVda, 792 ::switches::kUseExynosVda,
794 ash::switches::kAshTouchHud, 793 ash::switches::kAshTouchHud,
795 ash::switches::kAuraLegacyPowerButton, 794 ash::switches::kAuraLegacyPowerButton,
796 ash::switches::kAuraNoShadows, 795 ash::switches::kAuraNoShadows,
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 bool LoginUtils::IsWhitelisted(const std::string& username) { 1063 bool LoginUtils::IsWhitelisted(const std::string& username) {
1065 CrosSettings* cros_settings = CrosSettings::Get(); 1064 CrosSettings* cros_settings = CrosSettings::Get();
1066 bool allow_new_user = false; 1065 bool allow_new_user = false;
1067 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1066 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1068 if (allow_new_user) 1067 if (allow_new_user)
1069 return true; 1068 return true;
1070 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1069 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1071 } 1070 }
1072 1071
1073 } // namespace chromeos 1072 } // namespace chromeos
OLDNEW
« no previous file with comments | « cc/thread_proxy.cc ('k') | content/browser/renderer_host/image_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698