| 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 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ | 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 chromeos::TimeZoneResolver* GetTimezoneResolver(); | 101 chromeos::TimeZoneResolver* GetTimezoneResolver(); |
| 102 | 102 |
| 103 // Overridden from BrowserProcessPlatformPartBase: | 103 // Overridden from BrowserProcessPlatformPartBase: |
| 104 void StartTearDown() override; | 104 void StartTearDown() override; |
| 105 | 105 |
| 106 std::unique_ptr<policy::BrowserPolicyConnector> CreateBrowserPolicyConnector() | 106 std::unique_ptr<policy::BrowserPolicyConnector> CreateBrowserPolicyConnector() |
| 107 override; | 107 override; |
| 108 | 108 |
| 109 chromeos::system::SystemClock* GetSystemClock(); | 109 chromeos::system::SystemClock* GetSystemClock(); |
| 110 void DestroySystemClock(); |
| 110 | 111 |
| 111 private: | 112 private: |
| 112 void CreateProfileHelper(); | 113 void CreateProfileHelper(); |
| 113 | 114 |
| 114 std::unique_ptr<session_manager::SessionManager> session_manager_; | 115 std::unique_ptr<session_manager::SessionManager> session_manager_; |
| 115 | 116 |
| 116 bool created_profile_helper_; | 117 bool created_profile_helper_; |
| 117 std::unique_ptr<chromeos::ProfileHelper> profile_helper_; | 118 std::unique_ptr<chromeos::ProfileHelper> profile_helper_; |
| 118 | 119 |
| 119 std::unique_ptr<chromeos::system::AutomaticRebootManager> | 120 std::unique_ptr<chromeos::system::AutomaticRebootManager> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 131 std::unique_ptr<chromeos::TimeZoneResolver> timezone_resolver_; | 132 std::unique_ptr<chromeos::TimeZoneResolver> timezone_resolver_; |
| 132 | 133 |
| 133 std::unique_ptr<chromeos::system::SystemClock> system_clock_; | 134 std::unique_ptr<chromeos::system::SystemClock> system_clock_; |
| 134 | 135 |
| 135 std::unique_ptr<ScopedKeepAlive> keep_alive_; | 136 std::unique_ptr<ScopedKeepAlive> keep_alive_; |
| 136 | 137 |
| 137 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); | 138 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
| 138 }; | 139 }; |
| 139 | 140 |
| 140 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ | 141 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ |
| OLD | NEW |