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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 // users and their profiles in Chrome OS multi user session. | 43 // users and their profiles in Chrome OS multi user session. |
44 chromeos::ProfileHelper* profile_helper(); | 44 chromeos::ProfileHelper* profile_helper(); |
45 | 45 |
46 chromeos::system::AutomaticRebootManager* automatic_reboot_manager() { | 46 chromeos::system::AutomaticRebootManager* automatic_reboot_manager() { |
47 return automatic_reboot_manager_.get(); | 47 return automatic_reboot_manager_.get(); |
48 } | 48 } |
49 | 49 |
50 policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos(); | 50 policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos(); |
51 | 51 |
52 // Overridden from BrowserProcessPlatformPartBase: | 52 // Overridden from BrowserProcessPlatformPartBase: |
53 virtual void StartTearDown() OVERRIDE; | 53 virtual void StartTearDown() OVERRIDE; |
54 | 54 |
55 virtual scoped_ptr<policy::BrowserPolicyConnector> | 55 virtual scoped_ptr<policy::BrowserPolicyConnector> |
56 CreateBrowserPolicyConnector() OVERRIDE; | 56 CreateBrowserPolicyConnector() OVERRIDE; |
57 | 57 |
58 private: | 58 private: |
59 void CreateProfileHelper(); | 59 void CreateProfileHelper(); |
60 | 60 |
61 bool created_profile_helper_; | 61 bool created_profile_helper_; |
62 scoped_ptr<chromeos::ProfileHelper> profile_helper_; | 62 scoped_ptr<chromeos::ProfileHelper> profile_helper_; |
63 | 63 |
64 scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_; | 64 scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_; |
65 | 65 |
66 scoped_ptr<chromeos::system::AutomaticRebootManager> | 66 scoped_ptr<chromeos::system::AutomaticRebootManager> |
67 automatic_reboot_manager_; | 67 automatic_reboot_manager_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); | 69 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
70 }; | 70 }; |
71 | 71 |
72 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ | 72 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ |
OLD | NEW |