| Index: chrome/browser/browser_process_platform_part_chromeos.h
|
| diff --git a/chrome/browser/browser_process_platform_part_chromeos.h b/chrome/browser/browser_process_platform_part_chromeos.h
|
| index 3eb12364cc7ca105fc7fdc1d83a7dca4264fc551..08dc6839e6046f94f780546748659ae53c959ba2 100644
|
| --- a/chrome/browser/browser_process_platform_part_chromeos.h
|
| +++ b/chrome/browser/browser_process_platform_part_chromeos.h
|
| @@ -15,12 +15,21 @@ class OomPriorityManager;
|
| class ProfileHelper;
|
| }
|
|
|
| +namespace chromeos {
|
| +namespace system {
|
| +class AutomaticRebootManager;
|
| +}
|
| +}
|
| +
|
| class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
|
| public base::NonThreadSafe {
|
| public:
|
| BrowserProcessPlatformPart();
|
| virtual ~BrowserProcessPlatformPart();
|
|
|
| + void InitializeAutomaticRebootManager();
|
| + void ShutdownAutomaticRebootManager();
|
| +
|
| // Returns the out-of-memory priority manager.
|
| virtual chromeos::OomPriorityManager* oom_priority_manager();
|
|
|
| @@ -31,6 +40,10 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
|
| // Overridden from BrowserProcessPlatformPartBase:
|
| virtual void StartTearDown() OVERRIDE;
|
|
|
| + chromeos::system::AutomaticRebootManager* automatic_reboot_manager() {
|
| + return automatic_reboot_manager_.get();
|
| + }
|
| +
|
| protected:
|
| virtual void CreateProfileHelper();
|
|
|
| @@ -40,6 +53,9 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
|
| private:
|
| scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_;
|
|
|
| + scoped_ptr<chromeos::system::AutomaticRebootManager>
|
| + automatic_reboot_manager_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
|
| };
|
|
|
|
|