OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/browser_process_platform_part_chromeos.h" | 5 #include "chrome/browser/browser_process_platform_part_chromeos.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/ptr_util.h" |
8 #include "base/time/default_tick_clock.h" | 9 #include "base/time/default_tick_clock.h" |
9 #include "base/time/tick_clock.h" | 10 #include "base/time/tick_clock.h" |
10 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
11 #include "chrome/browser/chromeos/login/session/chrome_session_manager.h" | 12 #include "chrome/browser/chromeos/login/session/chrome_session_manager.h" |
12 #include "chrome/browser/chromeos/login/users/chrome_user_manager_impl.h" | 13 #include "chrome/browser/chromeos/login/users/chrome_user_manager_impl.h" |
13 #include "chrome/browser/chromeos/net/delay_network_call.h" | 14 #include "chrome/browser/chromeos/net/delay_network_call.h" |
14 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 15 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
15 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 16 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
16 #include "chrome/browser/chromeos/settings/cros_settings.h" | 17 #include "chrome/browser/chromeos/settings/cros_settings.h" |
17 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" | 18 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 151 |
151 void BrowserProcessPlatformPart::DestroySystemClock() { | 152 void BrowserProcessPlatformPart::DestroySystemClock() { |
152 system_clock_.reset(); | 153 system_clock_.reset(); |
153 } | 154 } |
154 | 155 |
155 void BrowserProcessPlatformPart::CreateProfileHelper() { | 156 void BrowserProcessPlatformPart::CreateProfileHelper() { |
156 DCHECK(!created_profile_helper_ && !profile_helper_); | 157 DCHECK(!created_profile_helper_ && !profile_helper_); |
157 created_profile_helper_ = true; | 158 created_profile_helper_ = true; |
158 profile_helper_.reset(new chromeos::ProfileHelper()); | 159 profile_helper_.reset(new chromeos::ProfileHelper()); |
159 } | 160 } |
OLD | NEW |