OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/task/cancelable_task_tracker.h" | 9 #include "base/task/cancelable_task_tracker.h" |
10 #include "chrome/browser/chrome_browser_main_linux.h" | 10 #include "chrome/browser/chrome_browser_main_linux.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 class DBusServices; | 43 class DBusServices; |
44 } | 44 } |
45 | 45 |
46 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { | 46 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsLinux { |
47 public: | 47 public: |
48 explicit ChromeBrowserMainPartsChromeos( | 48 explicit ChromeBrowserMainPartsChromeos( |
49 const content::MainFunctionParams& parameters); | 49 const content::MainFunctionParams& parameters); |
50 virtual ~ChromeBrowserMainPartsChromeos(); | 50 virtual ~ChromeBrowserMainPartsChromeos(); |
51 | 51 |
52 // ChromeBrowserMainParts overrides. | 52 // ChromeBrowserMainParts overrides. |
53 virtual void PreEarlyInitialization() OVERRIDE; | 53 virtual void PreEarlyInitialization() override; |
54 virtual void PreMainMessageLoopStart() OVERRIDE; | 54 virtual void PreMainMessageLoopStart() override; |
55 virtual void PostMainMessageLoopStart() OVERRIDE; | 55 virtual void PostMainMessageLoopStart() override; |
56 virtual void PreMainMessageLoopRun() OVERRIDE; | 56 virtual void PreMainMessageLoopRun() override; |
57 | 57 |
58 // Stages called from PreMainMessageLoopRun. | 58 // Stages called from PreMainMessageLoopRun. |
59 virtual void PreProfileInit() OVERRIDE; | 59 virtual void PreProfileInit() override; |
60 virtual void PostProfileInit() OVERRIDE; | 60 virtual void PostProfileInit() override; |
61 virtual void PreBrowserStart() OVERRIDE; | 61 virtual void PreBrowserStart() override; |
62 virtual void PostBrowserStart() OVERRIDE; | 62 virtual void PostBrowserStart() override; |
63 | 63 |
64 virtual void PostMainMessageLoopRun() OVERRIDE; | 64 virtual void PostMainMessageLoopRun() override; |
65 virtual void PostDestroyThreads() OVERRIDE; | 65 virtual void PostDestroyThreads() override; |
66 | 66 |
67 private: | 67 private: |
68 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; | 68 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; |
69 scoped_ptr<ExtensionSystemEventObserver> extension_system_event_observer_; | 69 scoped_ptr<ExtensionSystemEventObserver> extension_system_event_observer_; |
70 scoped_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; | 70 scoped_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; |
71 scoped_ptr<PowerPrefs> power_prefs_; | 71 scoped_ptr<PowerPrefs> power_prefs_; |
72 scoped_ptr<PowerButtonObserver> power_button_observer_; | 72 scoped_ptr<PowerButtonObserver> power_button_observer_; |
73 scoped_ptr<content::PowerSaveBlocker> retail_mode_power_save_blocker_; | 73 scoped_ptr<content::PowerSaveBlocker> retail_mode_power_save_blocker_; |
74 scoped_ptr<IdleActionWarningObserver> idle_action_warning_observer_; | 74 scoped_ptr<IdleActionWarningObserver> idle_action_warning_observer_; |
75 scoped_ptr<DataPromoNotification> data_promo_notification_; | 75 scoped_ptr<DataPromoNotification> data_promo_notification_; |
(...skipping 11 matching lines...) Expand all Loading... |
87 VersionLoader cros_version_loader_; | 87 VersionLoader cros_version_loader_; |
88 base::CancelableTaskTracker tracker_; | 88 base::CancelableTaskTracker tracker_; |
89 bool use_new_network_change_notifier_; | 89 bool use_new_network_change_notifier_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 91 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace chromeos | 94 } // namespace chromeos |
95 | 95 |
96 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 96 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
OLD | NEW |