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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
53 void DestroyChromeUserManager(); | 53 void DestroyChromeUserManager(); |
54 | 54 |
55 void InitializeDeviceDisablingManager(); | 55 void InitializeDeviceDisablingManager(); |
56 void ShutdownDeviceDisablingManager(); | 56 void ShutdownDeviceDisablingManager(); |
57 | 57 |
58 void InitializeSessionManager(const base::CommandLine& parsed_command_line, | 58 void InitializeSessionManager(const base::CommandLine& parsed_command_line, |
59 Profile* profile, | 59 Profile* profile, |
60 bool is_running_test); | 60 bool is_running_test); |
61 void ShutdownSessionManager(); | 61 void ShutdownSessionManager(); |
62 | 62 |
63 // Disable the offline interstitial easter egg if the device is enterprised | |
Andrew T Wilson (Slow)
2015/03/23 16:38:27
nit: enterprise, not enterprised
edwardjung
2015/03/24 16:07:35
Done.
| |
64 // enrolled. | |
65 void DisableDinoEasterEgg(); | |
Andrew T Wilson (Slow)
2015/03/23 16:38:26
nit: name this DisableDinoEasterEggIfEnrolled()
edwardjung
2015/03/24 16:07:35
Done.
| |
66 | |
63 // Returns the SessionManager instance that is used to initialize and | 67 // Returns the SessionManager instance that is used to initialize and |
64 // start user sessions as well as responsible on launching pre-session UI like | 68 // start user sessions as well as responsible on launching pre-session UI like |
65 // out-of-box or login. | 69 // out-of-box or login. |
66 virtual session_manager::SessionManager* SessionManager(); | 70 virtual session_manager::SessionManager* SessionManager(); |
67 | 71 |
68 // Returns the out-of-memory priority manager. | 72 // Returns the out-of-memory priority manager. |
69 // Virtual for testing (see TestingBrowserProcessPlatformPart). | 73 // Virtual for testing (see TestingBrowserProcessPlatformPart). |
70 virtual chromeos::OomPriorityManager* oom_priority_manager(); | 74 virtual chromeos::OomPriorityManager* oom_priority_manager(); |
71 | 75 |
72 // Returns the ProfileHelper instance that is used to identify | 76 // Returns the ProfileHelper instance that is used to identify |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 device_disabling_manager_delegate_; | 118 device_disabling_manager_delegate_; |
115 scoped_ptr<chromeos::system::DeviceDisablingManager> | 119 scoped_ptr<chromeos::system::DeviceDisablingManager> |
116 device_disabling_manager_; | 120 device_disabling_manager_; |
117 | 121 |
118 scoped_ptr<chromeos::TimeZoneResolver> timezone_resolver_; | 122 scoped_ptr<chromeos::TimeZoneResolver> timezone_resolver_; |
119 | 123 |
120 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); | 124 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); |
121 }; | 125 }; |
122 | 126 |
123 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ | 127 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ |
OLD | NEW |