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" |
11 #include "chrome/browser/chromeos/version_loader.h" | 11 #include "chrome/browser/chromeos/version_loader.h" |
12 | 12 |
13 namespace contacts { | |
14 class ContactManager; | |
15 } | |
16 | |
17 namespace content { | 13 namespace content { |
18 class PowerSaveBlocker; | 14 class PowerSaveBlocker; |
19 } | 15 } |
20 | 16 |
21 namespace chromeos { | 17 namespace chromeos { |
22 | 18 |
23 class DataPromoNotification; | 19 class DataPromoNotification; |
24 class EventRewriter; | 20 class EventRewriter; |
25 class ExtensionSystemEventObserver; | 21 class ExtensionSystemEventObserver; |
26 class IdleActionWarningObserver; | 22 class IdleActionWarningObserver; |
(...skipping 27 matching lines...) Expand all Loading... |
54 // Stages called from PreMainMessageLoopRun. | 50 // Stages called from PreMainMessageLoopRun. |
55 virtual void PreProfileInit() OVERRIDE; | 51 virtual void PreProfileInit() OVERRIDE; |
56 virtual void PostProfileInit() OVERRIDE; | 52 virtual void PostProfileInit() OVERRIDE; |
57 virtual void PreBrowserStart() OVERRIDE; | 53 virtual void PreBrowserStart() OVERRIDE; |
58 virtual void PostBrowserStart() OVERRIDE; | 54 virtual void PostBrowserStart() OVERRIDE; |
59 | 55 |
60 virtual void PostMainMessageLoopRun() OVERRIDE; | 56 virtual void PostMainMessageLoopRun() OVERRIDE; |
61 virtual void PostDestroyThreads() OVERRIDE; | 57 virtual void PostDestroyThreads() OVERRIDE; |
62 | 58 |
63 private: | 59 private: |
64 scoped_ptr<contacts::ContactManager> contact_manager_; | |
65 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; | 60 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; |
66 scoped_ptr<ExtensionSystemEventObserver> extension_system_event_observer_; | 61 scoped_ptr<ExtensionSystemEventObserver> extension_system_event_observer_; |
67 scoped_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; | 62 scoped_ptr<PeripheralBatteryObserver> peripheral_battery_observer_; |
68 scoped_ptr<PowerPrefs> power_prefs_; | 63 scoped_ptr<PowerPrefs> power_prefs_; |
69 scoped_ptr<PowerButtonObserver> power_button_observer_; | 64 scoped_ptr<PowerButtonObserver> power_button_observer_; |
70 scoped_ptr<content::PowerSaveBlocker> retail_mode_power_save_blocker_; | 65 scoped_ptr<content::PowerSaveBlocker> retail_mode_power_save_blocker_; |
71 scoped_ptr<IdleActionWarningObserver> idle_action_warning_observer_; | 66 scoped_ptr<IdleActionWarningObserver> idle_action_warning_observer_; |
72 scoped_ptr<DataPromoNotification> data_promo_notification_; | 67 scoped_ptr<DataPromoNotification> data_promo_notification_; |
73 | 68 |
74 scoped_ptr<internal::DBusServices> dbus_services_; | 69 scoped_ptr<internal::DBusServices> dbus_services_; |
75 scoped_ptr<EventRewriter> event_rewriter_; | 70 scoped_ptr<EventRewriter> event_rewriter_; |
76 | 71 |
77 VersionLoader cros_version_loader_; | 72 VersionLoader cros_version_loader_; |
78 base::CancelableTaskTracker tracker_; | 73 base::CancelableTaskTracker tracker_; |
79 bool use_new_network_change_notifier_; | 74 bool use_new_network_change_notifier_; |
80 | 75 |
81 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 76 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
82 }; | 77 }; |
83 | 78 |
84 } // namespace chromeos | 79 } // namespace chromeos |
85 | 80 |
86 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 81 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
OLD | NEW |