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

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

Issue 10689071: Deprecate --aura-panels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 ::switches::kRendererStartupDialog, 750 ::switches::kRendererStartupDialog,
751 ::switches::kFlingTapSuppressMaxDown, 751 ::switches::kFlingTapSuppressMaxDown,
752 ::switches::kFlingTapSuppressMaxGap, 752 ::switches::kFlingTapSuppressMaxGap,
753 ::switches::kTouchDevices, 753 ::switches::kTouchDevices,
754 ::switches::kTouchOptimizedUI, 754 ::switches::kTouchOptimizedUI,
755 ::switches::kNewCheckboxStyle, 755 ::switches::kNewCheckboxStyle,
756 ash::switches::kAshTouchHud, 756 ash::switches::kAshTouchHud,
757 ash::switches::kAshWindowAnimationsDisabled, 757 ash::switches::kAshWindowAnimationsDisabled,
758 ash::switches::kAuraLegacyPowerButton, 758 ash::switches::kAuraLegacyPowerButton,
759 ash::switches::kAuraNoShadows, 759 ash::switches::kAuraNoShadows,
760 ash::switches::kAuraPanelManager,
761 ash::switches::kAshNotifyDisabled, 760 ash::switches::kAshNotifyDisabled,
762 ::switches::kUIEnablePartialSwap, 761 ::switches::kUIEnablePartialSwap,
763 ::switches::kUIPrioritizeInGpuProcess, 762 ::switches::kUIPrioritizeInGpuProcess,
764 #if defined(USE_CRAS) 763 #if defined(USE_CRAS)
765 ::switches::kUseCras, 764 ::switches::kUseCras,
766 #endif 765 #endif
767 ::switches::kUseGL, 766 ::switches::kUseGL,
768 ::switches::kUserDataDir, 767 ::switches::kUserDataDir,
769 chromeos::switches::kDbusStub, 768 chromeos::switches::kDbusStub,
770 }; 769 };
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 bool LoginUtils::IsWhitelisted(const std::string& username) { 1121 bool LoginUtils::IsWhitelisted(const std::string& username) {
1123 CrosSettings* cros_settings = CrosSettings::Get(); 1122 CrosSettings* cros_settings = CrosSettings::Get();
1124 bool allow_new_user = false; 1123 bool allow_new_user = false;
1125 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1124 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1126 if (allow_new_user) 1125 if (allow_new_user)
1127 return true; 1126 return true;
1128 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1127 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1129 } 1128 }
1130 1129
1131 } // namespace chromeos 1130 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698