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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 return automatic_reboot_manager_.get(); | 71 return automatic_reboot_manager_.get(); |
72 } | 72 } |
73 | 73 |
74 policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos(); | 74 policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos(); |
75 | 75 |
76 chromeos::ChromeUserManager* user_manager() { | 76 chromeos::ChromeUserManager* user_manager() { |
77 return chrome_user_manager_.get(); | 77 return chrome_user_manager_.get(); |
78 } | 78 } |
79 | 79 |
80 // Overridden from BrowserProcessPlatformPartBase: | 80 // Overridden from BrowserProcessPlatformPartBase: |
81 virtual void StartTearDown() OVERRIDE; | 81 virtual void StartTearDown() override; |
82 | 82 |
83 virtual scoped_ptr<policy::BrowserPolicyConnector> | 83 virtual scoped_ptr<policy::BrowserPolicyConnector> |
84 CreateBrowserPolicyConnector() OVERRIDE; | 84 CreateBrowserPolicyConnector() override; |
85 | 85 |
86 private: | 86 private: |
87 void CreateProfileHelper(); | 87 void CreateProfileHelper(); |
88 | 88 |
89 scoped_ptr<session_manager::SessionManager> session_manager_; | 89 scoped_ptr<session_manager::SessionManager> session_manager_; |
90 | 90 |
91 bool created_profile_helper_; | 91 bool created_profile_helper_; |
92 scoped_ptr<chromeos::ProfileHelper> profile_helper_; | 92 scoped_ptr<chromeos::ProfileHelper> profile_helper_; |
93 | 93 |
94 scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_; | 94 scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_; |
95 | 95 |
96 scoped_ptr<chromeos::system::AutomaticRebootManager> | 96 scoped_ptr<chromeos::system::AutomaticRebootManager> |
97 automatic_reboot_manager_; | 97 automatic_reboot_manager_; |
98 | 98 |
99 scoped_ptr<chromeos::ChromeUserManager> chrome_user_manager_; | 99 scoped_ptr<chromeos::ChromeUserManager> chrome_user_manager_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); | 101 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
102 }; | 102 }; |
103 | 103 |
104 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ | 104 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ |
OLD | NEW |