OLD | NEW |
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/ui/startup/startup_browser_creator.h" | 5 #include "chrome/browser/ui/startup/startup_browser_creator.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> // For max(). | 9 #include <algorithm> // For max(). |
10 #include <memory> | 10 #include <memory> |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 #include "chrome/browser/chromeos/app_mode/app_launch_utils.h" | 84 #include "chrome/browser/chromeos/app_mode/app_launch_utils.h" |
85 #include "chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h" | 85 #include "chrome/browser/chromeos/login/demo_mode/demo_app_launcher.h" |
86 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 86 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
87 #include "chrome/browser/lifetime/application_lifetime.h" | 87 #include "chrome/browser/lifetime/application_lifetime.h" |
88 #include "chromeos/chromeos_switches.h" | 88 #include "chromeos/chromeos_switches.h" |
89 #include "chromeos/cryptohome/cryptohome_parameters.h" | 89 #include "chromeos/cryptohome/cryptohome_parameters.h" |
90 #include "components/user_manager/user_manager.h" | 90 #include "components/user_manager/user_manager.h" |
91 #endif | 91 #endif |
92 | 92 |
93 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 93 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
94 #include "ui/events/devices/x11/touch_factory_x11.h" | 94 #include "ui/events/devices/x11/touch_factory_x11.h" // nogncheck |
95 #endif | 95 #endif |
96 | 96 |
97 #if defined(OS_MACOSX) | 97 #if defined(OS_MACOSX) |
98 #include "chrome/browser/web_applications/web_app_mac.h" | 98 #include "chrome/browser/web_applications/web_app_mac.h" |
99 #endif | 99 #endif |
100 | 100 |
101 #if defined(OS_WIN) | 101 #if defined(OS_WIN) |
102 #include "chrome/browser/metrics/jumplist_metrics_win.h" | 102 #include "chrome/browser/metrics/jumplist_metrics_win.h" |
103 #endif | 103 #endif |
104 | 104 |
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 if (!entry->IsSigninRequired()) { | 934 if (!entry->IsSigninRequired()) { |
935 Profile* profile = profile_manager->GetProfile(entry->GetPath()); | 935 Profile* profile = profile_manager->GetProfile(entry->GetPath()); |
936 if (profile) | 936 if (profile) |
937 return profile; | 937 return profile; |
938 } | 938 } |
939 } | 939 } |
940 | 940 |
941 return nullptr; | 941 return nullptr; |
942 } | 942 } |
943 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) | 943 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
OLD | NEW |