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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/task/cancelable_task_tracker.h" | 11 #include "base/task/cancelable_task_tracker.h" |
12 #include "chrome/browser/chrome_browser_main_linux.h" | 12 #include "chrome/browser/chrome_browser_main_linux.h" |
13 #include "chrome/browser/chromeos/external_metrics.h" | 13 #include "chrome/browser/chromeos/external_metrics.h" |
14 #include "chromeos/system/version_loader.h" | 14 #include "chromeos/system/version_loader.h" |
15 | 15 |
16 namespace session_manager { | 16 namespace session_manager { |
17 class SessionManager; | 17 class SessionManager; |
18 } | 18 } |
19 | 19 |
20 namespace arc { | 20 namespace arc { |
21 class ArcServiceLauncher; | 21 class ArcServiceLauncher; |
22 } | 22 } |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 | 25 |
26 class DataPromoNotification; | 26 class DataPromoNotification; |
27 class EventRewriter; | 27 class EventRewriter; |
28 class EventRewriterController; | 28 class EventRewriterController; |
| 29 class ExtensionVolumeObserver; |
29 class IdleActionWarningObserver; | 30 class IdleActionWarningObserver; |
30 class LoginLockStateNotifier; | 31 class LoginLockStateNotifier; |
31 class LowDiskNotification; | 32 class LowDiskNotification; |
32 class MagnificationManager; | 33 class MagnificationManager; |
33 class PeripheralBatteryObserver; | 34 class PeripheralBatteryObserver; |
34 class PowerPrefs; | 35 class PowerPrefs; |
35 class RendererFreezer; | 36 class RendererFreezer; |
36 class SessionManagerObserver; | 37 class SessionManagerObserver; |
37 class SwapMetrics; | 38 class SwapMetrics; |
38 class WakeOnWifiManager; | 39 class WakeOnWifiManager; |
(...skipping 22 matching lines...) Expand all Loading... |
61 void PreProfileInit() override; | 62 void PreProfileInit() override; |
62 void PostProfileInit() override; | 63 void PostProfileInit() override; |
63 void PreBrowserStart() override; | 64 void PreBrowserStart() override; |
64 void PostBrowserStart() override; | 65 void PostBrowserStart() override; |
65 | 66 |
66 void PostMainMessageLoopRun() override; | 67 void PostMainMessageLoopRun() override; |
67 void PostDestroyThreads() override; | 68 void PostDestroyThreads() override; |
68 | 69 |
69 private: | 70 private: |
70 std::unique_ptr<default_app_order::ExternalLoader> app_order_loader_; | 71 std::unique_ptr<default_app_order::ExternalLoader> app_order_loader_; |
| 72 std::unique_ptr<ExtensionVolumeObserver> extension_volume_observer_; |
71 std::unique_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; | 73 std::unique_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; |
72 std::unique_ptr<PowerPrefs> power_prefs_; | 74 std::unique_ptr<PowerPrefs> power_prefs_; |
73 std::unique_ptr<LoginLockStateNotifier> login_lock_state_notifier_; | 75 std::unique_ptr<LoginLockStateNotifier> login_lock_state_notifier_; |
74 std::unique_ptr<IdleActionWarningObserver> idle_action_warning_observer_; | 76 std::unique_ptr<IdleActionWarningObserver> idle_action_warning_observer_; |
75 std::unique_ptr<DataPromoNotification> data_promo_notification_; | 77 std::unique_ptr<DataPromoNotification> data_promo_notification_; |
76 std::unique_ptr<RendererFreezer> renderer_freezer_; | 78 std::unique_ptr<RendererFreezer> renderer_freezer_; |
77 std::unique_ptr<WakeOnWifiManager> wake_on_wifi_manager_; | 79 std::unique_ptr<WakeOnWifiManager> wake_on_wifi_manager_; |
78 | 80 |
79 std::unique_ptr<internal::DBusServices> dbus_services_; | 81 std::unique_ptr<internal::DBusServices> dbus_services_; |
80 | 82 |
81 std::unique_ptr<session_manager::SessionManager> session_manager_; | 83 std::unique_ptr<session_manager::SessionManager> session_manager_; |
82 | 84 |
83 std::unique_ptr<EventRewriterController> keyboard_event_rewriters_; | 85 std::unique_ptr<EventRewriterController> keyboard_event_rewriters_; |
84 | 86 |
85 scoped_refptr<chromeos::ExternalMetrics> external_metrics_; | 87 scoped_refptr<chromeos::ExternalMetrics> external_metrics_; |
86 | 88 |
87 std::unique_ptr<arc::ArcServiceLauncher> arc_service_launcher_; | 89 std::unique_ptr<arc::ArcServiceLauncher> arc_service_launcher_; |
88 | 90 |
89 std::unique_ptr<LowDiskNotification> low_disk_notification_; | 91 std::unique_ptr<LowDiskNotification> low_disk_notification_; |
90 | 92 |
91 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 93 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
92 }; | 94 }; |
93 | 95 |
94 } // namespace chromeos | 96 } // namespace chromeos |
95 | 97 |
96 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 98 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
OLD | NEW |