Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.h

Issue 2427913003: Use mojo volume interfaces for mash and classic ash. (Closed)
Patch Set: Split volume and system events observers; only hook up volume. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698