| 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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/threading/non_thread_safe.h" | 10 #include "base/threading/non_thread_safe.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 namespace policy { | 32 namespace policy { |
| 33 class BrowserPolicyConnector; | 33 class BrowserPolicyConnector; |
| 34 class BrowserPolicyConnectorChromeOS; | 34 class BrowserPolicyConnectorChromeOS; |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace session_manager { | 37 namespace session_manager { |
| 38 class SessionManager; | 38 class SessionManager; |
| 39 } | 39 } |
| 40 | 40 |
| 41 class MemoryPressureMonitorChromeOS; |
| 41 class Profile; | 42 class Profile; |
| 42 | 43 |
| 43 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase, | 44 class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase, |
| 44 public base::NonThreadSafe { | 45 public base::NonThreadSafe { |
| 45 public: | 46 public: |
| 46 BrowserProcessPlatformPart(); | 47 BrowserProcessPlatformPart(); |
| 47 ~BrowserProcessPlatformPart() override; | 48 ~BrowserProcessPlatformPart() override; |
| 48 | 49 |
| 49 void InitializeAutomaticRebootManager(); | 50 void InitializeAutomaticRebootManager(); |
| 50 void ShutdownAutomaticRebootManager(); | 51 void ShutdownAutomaticRebootManager(); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 override; | 101 override; |
| 101 | 102 |
| 102 private: | 103 private: |
| 103 void CreateProfileHelper(); | 104 void CreateProfileHelper(); |
| 104 | 105 |
| 105 scoped_ptr<session_manager::SessionManager> session_manager_; | 106 scoped_ptr<session_manager::SessionManager> session_manager_; |
| 106 | 107 |
| 107 bool created_profile_helper_; | 108 bool created_profile_helper_; |
| 108 scoped_ptr<chromeos::ProfileHelper> profile_helper_; | 109 scoped_ptr<chromeos::ProfileHelper> profile_helper_; |
| 109 | 110 |
| 111 scoped_ptr<MemoryPressureMonitorChromeOS> memory_pressure_monitor_; |
| 110 scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_; | 112 scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_; |
| 111 | 113 |
| 112 scoped_ptr<chromeos::system::AutomaticRebootManager> | 114 scoped_ptr<chromeos::system::AutomaticRebootManager> |
| 113 automatic_reboot_manager_; | 115 automatic_reboot_manager_; |
| 114 | 116 |
| 115 scoped_ptr<chromeos::ChromeUserManager> chrome_user_manager_; | 117 scoped_ptr<chromeos::ChromeUserManager> chrome_user_manager_; |
| 116 | 118 |
| 117 scoped_ptr<chromeos::system::DeviceDisablingManagerDefaultDelegate> | 119 scoped_ptr<chromeos::system::DeviceDisablingManagerDefaultDelegate> |
| 118 device_disabling_manager_delegate_; | 120 device_disabling_manager_delegate_; |
| 119 scoped_ptr<chromeos::system::DeviceDisablingManager> | 121 scoped_ptr<chromeos::system::DeviceDisablingManager> |
| 120 device_disabling_manager_; | 122 device_disabling_manager_; |
| 121 | 123 |
| 122 scoped_ptr<chromeos::TimeZoneResolver> timezone_resolver_; | 124 scoped_ptr<chromeos::TimeZoneResolver> timezone_resolver_; |
| 123 | 125 |
| 124 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); | 126 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
| 125 }; | 127 }; |
| 126 | 128 |
| 127 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ | 129 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ |
| OLD | NEW |