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 | 8 |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "chrome/browser/ui/browser_list.h" | 39 #include "chrome/browser/ui/browser_list.h" |
40 #include "chrome/browser/ui/browser_list_observer.h" | 40 #include "chrome/browser/ui/browser_list_observer.h" |
41 #include "chrome/browser/ui/chrome_pages.h" | 41 #include "chrome/browser/ui/chrome_pages.h" |
42 #include "chrome/browser/ui/singleton_tabs.h" | 42 #include "chrome/browser/ui/singleton_tabs.h" |
43 #include "chrome/browser/ui/user_manager.h" | 43 #include "chrome/browser/ui/user_manager.h" |
44 #include "chrome/browser/ui/webui/profile_helper.h" | 44 #include "chrome/browser/ui/webui/profile_helper.h" |
45 #include "chrome/common/pref_names.h" | 45 #include "chrome/common/pref_names.h" |
46 #include "chrome/common/url_constants.h" | 46 #include "chrome/common/url_constants.h" |
47 #include "chrome/grit/chromium_strings.h" | 47 #include "chrome/grit/chromium_strings.h" |
48 #include "chrome/grit/generated_resources.h" | 48 #include "chrome/grit/generated_resources.h" |
49 #include "chrome/grit/google_chrome_strings.h" | |
50 #include "components/prefs/pref_service.h" | 49 #include "components/prefs/pref_service.h" |
51 #include "components/proximity_auth/screenlock_bridge.h" | 50 #include "components/proximity_auth/screenlock_bridge.h" |
52 #include "components/signin/core/account_id/account_id.h" | 51 #include "components/signin/core/account_id/account_id.h" |
53 #include "components/signin/core/common/profile_management_switches.h" | 52 #include "components/signin/core/common/profile_management_switches.h" |
54 #include "content/public/browser/notification_service.h" | 53 #include "content/public/browser/notification_service.h" |
55 #include "content/public/browser/storage_partition.h" | 54 #include "content/public/browser/storage_partition.h" |
56 #include "content/public/browser/web_contents.h" | 55 #include "content/public/browser/web_contents.h" |
57 #include "content/public/browser/web_ui.h" | 56 #include "content/public/browser/web_ui.h" |
58 #include "google_apis/gaia/gaia_auth_fetcher.h" | 57 #include "google_apis/gaia/gaia_auth_fetcher.h" |
59 #include "google_apis/gaia/gaia_constants.h" | 58 #include "google_apis/gaia/gaia_constants.h" |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 Profile* profile, Profile::CreateStatus profile_create_status) { | 1014 Profile* profile, Profile::CreateStatus profile_create_status) { |
1016 Browser* browser = chrome::FindAnyBrowser(profile, false); | 1015 Browser* browser = chrome::FindAnyBrowser(profile, false); |
1017 if (browser && browser->window()) { | 1016 if (browser && browser->window()) { |
1018 OnBrowserWindowReady(browser); | 1017 OnBrowserWindowReady(browser); |
1019 } else { | 1018 } else { |
1020 registrar_.Add(this, | 1019 registrar_.Add(this, |
1021 chrome::NOTIFICATION_BROWSER_WINDOW_READY, | 1020 chrome::NOTIFICATION_BROWSER_WINDOW_READY, |
1022 content::NotificationService::AllSources()); | 1021 content::NotificationService::AllSources()); |
1023 } | 1022 } |
1024 } | 1023 } |
OLD | NEW |