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

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

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

Powered by Google App Engine
This is Rietveld 408576698