| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/ui/webui/signin/user_manager_screen_handler.h" | 5 #include "chrome/browser/ui/webui/signin/user_manager_screen_handler.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/profiler/scoped_tracker.h" | 14 #include "base/profiler/scoped_tracker.h" |
| 15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
| 18 #include "base/value_conversions.h" | 18 #include "base/value_conversions.h" |
| 19 #include "base/values.h" | 19 #include "base/values.h" |
| 20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 21 #include "chrome/browser/chrome_notification_types.h" | 21 #include "chrome/browser/chrome_notification_types.h" |
| 22 #include "chrome/browser/extensions/api/screenlock_private/screenlock_private_ap
i.h" | 22 #include "chrome/browser/extensions/api/screenlock_private/screenlock_private_ap
i.h" |
| 23 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
| 24 #include "chrome/browser/profiles/profile_attributes_entry.h" | 24 #include "chrome/browser/profiles/profile_attributes_entry.h" |
| 25 #include "chrome/browser/profiles/profile_attributes_storage.h" | 25 #include "chrome/browser/profiles/profile_attributes_storage.h" |
| 26 #include "chrome/browser/profiles/profile_avatar_icon_util.h" | 26 #include "chrome/browser/profiles/profile_avatar_icon_util.h" |
| 27 #include "chrome/browser/profiles/profile_manager.h" | 27 #include "chrome/browser/profiles/profile_manager.h" |
| (...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 Profile* profile, Profile::CreateStatus profile_create_status) { | 981 Profile* profile, Profile::CreateStatus profile_create_status) { |
| 982 Browser* browser = chrome::FindAnyBrowser(profile, false); | 982 Browser* browser = chrome::FindAnyBrowser(profile, false); |
| 983 if (browser && browser->window()) { | 983 if (browser && browser->window()) { |
| 984 OnBrowserWindowReady(browser); | 984 OnBrowserWindowReady(browser); |
| 985 } else { | 985 } else { |
| 986 registrar_.Add(this, | 986 registrar_.Add(this, |
| 987 chrome::NOTIFICATION_BROWSER_WINDOW_READY, | 987 chrome::NOTIFICATION_BROWSER_WINDOW_READY, |
| 988 content::NotificationService::AllSources()); | 988 content::NotificationService::AllSources()); |
| 989 } | 989 } |
| 990 } | 990 } |
| OLD | NEW |