| 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/session/user_session_manager.h" | 5 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 #include "chrome/browser/net/nss_context.h" | 68 #include "chrome/browser/net/nss_context.h" |
| 69 #include "chrome/browser/prefs/session_startup_pref.h" | 69 #include "chrome/browser/prefs/session_startup_pref.h" |
| 70 #include "chrome/browser/profiles/profile.h" | 70 #include "chrome/browser/profiles/profile.h" |
| 71 #include "chrome/browser/profiles/profile_manager.h" | 71 #include "chrome/browser/profiles/profile_manager.h" |
| 72 #include "chrome/browser/signin/account_tracker_service_factory.h" | 72 #include "chrome/browser/signin/account_tracker_service_factory.h" |
| 73 #include "chrome/browser/signin/easy_unlock_service.h" | 73 #include "chrome/browser/signin/easy_unlock_service.h" |
| 74 #include "chrome/browser/signin/signin_manager_factory.h" | 74 #include "chrome/browser/signin/signin_manager_factory.h" |
| 75 #include "chrome/browser/supervised_user/child_accounts/child_account_service.h" | 75 #include "chrome/browser/supervised_user/child_accounts/child_account_service.h" |
| 76 #include "chrome/browser/supervised_user/child_accounts/child_account_service_fa
ctory.h" | 76 #include "chrome/browser/supervised_user/child_accounts/child_account_service_fa
ctory.h" |
| 77 #include "chrome/browser/ui/app_list/app_list_service.h" | 77 #include "chrome/browser/ui/app_list/app_list_service.h" |
| 78 #include "chrome/browser/ui/ash/ash_util.h" | |
| 79 #include "chrome/browser/ui/startup/startup_browser_creator.h" | 78 #include "chrome/browser/ui/startup/startup_browser_creator.h" |
| 80 #include "chrome/common/channel_info.h" | 79 #include "chrome/common/channel_info.h" |
| 81 #include "chrome/common/chrome_switches.h" | 80 #include "chrome/common/chrome_switches.h" |
| 82 #include "chrome/common/logging_chrome.h" | 81 #include "chrome/common/logging_chrome.h" |
| 83 #include "chrome/common/pref_names.h" | 82 #include "chrome/common/pref_names.h" |
| 84 #include "chromeos/cert_loader.h" | 83 #include "chromeos/cert_loader.h" |
| 85 #include "chromeos/chromeos_switches.h" | 84 #include "chromeos/chromeos_switches.h" |
| 86 #include "chromeos/cryptohome/cryptohome_parameters.h" | 85 #include "chromeos/cryptohome/cryptohome_parameters.h" |
| 87 #include "chromeos/cryptohome/cryptohome_util.h" | 86 #include "chromeos/cryptohome/cryptohome_util.h" |
| 88 #include "chromeos/dbus/cryptohome_client.h" | 87 #include "chromeos/dbus/cryptohome_client.h" |
| (...skipping 1827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1916 ->browser_policy_connector_chromeos() | 1915 ->browser_policy_connector_chromeos() |
| 1917 ->IsEnterpriseManaged()) { | 1916 ->IsEnterpriseManaged()) { |
| 1918 return false; | 1917 return false; |
| 1919 } | 1918 } |
| 1920 | 1919 |
| 1921 // Do not show end of life notification if this is a guest session | 1920 // Do not show end of life notification if this is a guest session |
| 1922 return !profile->IsGuestSession(); | 1921 return !profile->IsGuestSession(); |
| 1923 } | 1922 } |
| 1924 | 1923 |
| 1925 } // namespace chromeos | 1924 } // namespace chromeos |
| OLD | NEW |