OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/lock/screen_locker.h" | 5 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_switches.h" | 10 #include "ash/ash_switches.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "components/user_manager/user_type.h" | 46 #include "components/user_manager/user_type.h" |
47 #include "content/public/browser/browser_thread.h" | 47 #include "content/public/browser/browser_thread.h" |
48 #include "content/public/browser/notification_service.h" | 48 #include "content/public/browser/notification_service.h" |
49 #include "content/public/browser/url_data_source.h" | 49 #include "content/public/browser/url_data_source.h" |
50 #include "content/public/browser/user_metrics.h" | 50 #include "content/public/browser/user_metrics.h" |
51 #include "content/public/browser/web_contents.h" | 51 #include "content/public/browser/web_contents.h" |
52 #include "content/public/browser/web_ui.h" | 52 #include "content/public/browser/web_ui.h" |
53 #include "grit/browser_resources.h" | 53 #include "grit/browser_resources.h" |
54 #include "grit/generated_resources.h" | 54 #include "grit/generated_resources.h" |
55 #include "media/audio/sounds/sounds_manager.h" | 55 #include "media/audio/sounds/sounds_manager.h" |
56 #include "ui/base/l10n/l10n_util.h" | |
57 #include "ui/base/resource/resource_bundle.h" | 56 #include "ui/base/resource/resource_bundle.h" |
58 #include "ui/gfx/image/image.h" | 57 #include "ui/gfx/image/image.h" |
59 #include "url/gurl.h" | 58 #include "url/gurl.h" |
60 | 59 |
61 using base::UserMetricsAction; | 60 using base::UserMetricsAction; |
62 using content::BrowserThread; | 61 using content::BrowserThread; |
63 | 62 |
64 namespace chromeos { | 63 namespace chromeos { |
65 | 64 |
66 namespace { | 65 namespace { |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 for (user_manager::UserList::const_iterator it = users_.begin(); | 491 for (user_manager::UserList::const_iterator it = users_.begin(); |
493 it != users_.end(); | 492 it != users_.end(); |
494 ++it) { | 493 ++it) { |
495 if ((*it)->email() == username) | 494 if ((*it)->email() == username) |
496 return true; | 495 return true; |
497 } | 496 } |
498 return false; | 497 return false; |
499 } | 498 } |
500 | 499 |
501 } // namespace chromeos | 500 } // namespace chromeos |
OLD | NEW |