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

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

Issue 10052018: Drop frontbuffers with ui-use-gpu-process, synchronized with browser, decoupled from backbuffer dro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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 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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 ::switches::kDisableAcceleratedPlugins, 717 ::switches::kDisableAcceleratedPlugins,
718 ::switches::kDisableGpuWatchdog, 718 ::switches::kDisableGpuWatchdog,
719 ::switches::kDisableLoginAnimations, 719 ::switches::kDisableLoginAnimations,
720 ::switches::kDisableSeccompFilterSandbox, 720 ::switches::kDisableSeccompFilterSandbox,
721 ::switches::kDisableSeccompSandbox, 721 ::switches::kDisableSeccompSandbox,
722 ::switches::kDisableThreadedAnimation, 722 ::switches::kDisableThreadedAnimation,
723 ::switches::kEnableDevicePolicy, 723 ::switches::kEnableDevicePolicy,
724 ::switches::kEnableGView, 724 ::switches::kEnableGView,
725 ::switches::kEnableLogging, 725 ::switches::kEnableLogging,
726 ::switches::kEnablePartialSwap, 726 ::switches::kEnablePartialSwap,
727 ::switches::kEnableUIReleaseFrontSurface,
727 ::switches::kEnablePinch, 728 ::switches::kEnablePinch,
728 ::switches::kEnableSmoothScrolling, 729 ::switches::kEnableSmoothScrolling,
729 ::switches::kEnableThreadedCompositing, 730 ::switches::kEnableThreadedCompositing,
730 ::switches::kEnableTouchEvents, 731 ::switches::kEnableTouchEvents,
731 ::switches::kEnableViewport, 732 ::switches::kEnableViewport,
732 ::switches::kDisableThreadedCompositing, 733 ::switches::kDisableThreadedCompositing,
733 ::switches::kForceCompositingMode, 734 ::switches::kForceCompositingMode,
734 ::switches::kGpuStartupDialog, 735 ::switches::kGpuStartupDialog,
735 ::switches::kLoginProfile, 736 ::switches::kLoginProfile,
736 ::switches::kScrollPixels, 737 ::switches::kScrollPixels,
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 bool LoginUtils::IsWhitelisted(const std::string& username) { 1112 bool LoginUtils::IsWhitelisted(const std::string& username) {
1112 CrosSettings* cros_settings = CrosSettings::Get(); 1113 CrosSettings* cros_settings = CrosSettings::Get();
1113 bool allow_new_user = false; 1114 bool allow_new_user = false;
1114 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1115 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1115 if (allow_new_user) 1116 if (allow_new_user)
1116 return true; 1117 return true;
1117 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1118 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1118 } 1119 }
1119 1120
1120 } // namespace chromeos 1121 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | content/browser/renderer_host/render_widget_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698