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

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

Issue 10690031: Turn of ash notification tray by default for M21. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 ::switches::kFlingTapSuppressMaxDown, 746 ::switches::kFlingTapSuppressMaxDown,
747 ::switches::kFlingTapSuppressMaxGap, 747 ::switches::kFlingTapSuppressMaxGap,
748 ::switches::kTouchDevices, 748 ::switches::kTouchDevices,
749 ::switches::kTouchOptimizedUI, 749 ::switches::kTouchOptimizedUI,
750 ::switches::kNewCheckboxStyle, 750 ::switches::kNewCheckboxStyle,
751 ash::switches::kAshTouchHud, 751 ash::switches::kAshTouchHud,
752 ash::switches::kAshWindowAnimationsDisabled, 752 ash::switches::kAshWindowAnimationsDisabled,
753 ash::switches::kAuraLegacyPowerButton, 753 ash::switches::kAuraLegacyPowerButton,
754 ash::switches::kAuraNoShadows, 754 ash::switches::kAuraNoShadows,
755 ash::switches::kAuraPanelManager, 755 ash::switches::kAuraPanelManager,
756 ash::switches::kAshNotifyDisabled, 756 ash::switches::kAshNotify,
757 ::switches::kUIEnablePartialSwap, 757 ::switches::kUIEnablePartialSwap,
758 ::switches::kUIPrioritizeInGpuProcess, 758 ::switches::kUIPrioritizeInGpuProcess,
759 #if defined(USE_CRAS) 759 #if defined(USE_CRAS)
760 ::switches::kUseCras, 760 ::switches::kUseCras,
761 #endif 761 #endif
762 ::switches::kUseGL, 762 ::switches::kUseGL,
763 ::switches::kUserDataDir, 763 ::switches::kUserDataDir,
764 chromeos::switches::kDbusStub, 764 chromeos::switches::kDbusStub,
765 }; 765 };
766 command_line->CopySwitchesFrom(base_command_line, 766 command_line->CopySwitchesFrom(base_command_line,
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 bool LoginUtils::IsWhitelisted(const std::string& username) { 1117 bool LoginUtils::IsWhitelisted(const std::string& username) {
1118 CrosSettings* cros_settings = CrosSettings::Get(); 1118 CrosSettings* cros_settings = CrosSettings::Get();
1119 bool allow_new_user = false; 1119 bool allow_new_user = false;
1120 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1120 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1121 if (allow_new_user) 1121 if (allow_new_user)
1122 return true; 1122 return true;
1123 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1123 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1124 } 1124 }
1125 1125
1126 } // namespace chromeos 1126 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/locale_change_guard.cc ('k') | chrome/browser/chromeos/network_message_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698