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

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

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 #include "googleurl/src/gurl.h" 75 #include "googleurl/src/gurl.h"
76 #include "net/base/network_change_notifier.h" 76 #include "net/base/network_change_notifier.h"
77 #include "net/cookies/cookie_monster.h" 77 #include "net/cookies/cookie_monster.h"
78 #include "net/cookies/cookie_store.h" 78 #include "net/cookies/cookie_store.h"
79 #include "net/http/http_auth_cache.h" 79 #include "net/http/http_auth_cache.h"
80 #include "net/http/http_network_session.h" 80 #include "net/http/http_network_session.h"
81 #include "net/http/http_transaction_factory.h" 81 #include "net/http/http_transaction_factory.h"
82 #include "net/url_request/url_request_context.h" 82 #include "net/url_request/url_request_context.h"
83 #include "net/url_request/url_request_context_getter.h" 83 #include "net/url_request/url_request_context_getter.h"
84 #include "ui/base/ui_base_switches.h" 84 #include "ui/base/ui_base_switches.h"
85 #include "ui/gfx/compositor/compositor_switches.h" 85 #include "ui/compositor/compositor_switches.h"
86 #include "ui/gfx/gl/gl_switches.h" 86 #include "ui/gfx/gl/gl_switches.h"
87 #include "webkit/plugins/plugin_switches.h" 87 #include "webkit/plugins/plugin_switches.h"
88 88
89 using content::BrowserThread; 89 using content::BrowserThread;
90 90
91 namespace chromeos { 91 namespace chromeos {
92 92
93 namespace { 93 namespace {
94 94
95 // OAuth token verification retry count. 95 // OAuth token verification retry count.
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 bool LoginUtils::IsWhitelisted(const std::string& username) { 1455 bool LoginUtils::IsWhitelisted(const std::string& username) {
1456 CrosSettings* cros_settings = CrosSettings::Get(); 1456 CrosSettings* cros_settings = CrosSettings::Get();
1457 bool allow_new_user = false; 1457 bool allow_new_user = false;
1458 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1458 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1459 if (allow_new_user) 1459 if (allow_new_user)
1460 return true; 1460 return true;
1461 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1461 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1462 } 1462 }
1463 1463
1464 } // namespace chromeos 1464 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/base_login_display_host.cc ('k') | chrome/browser/ui/tabs/dock_info_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698