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/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/chrome_browser_main_linux.h" | 10 #include "chrome/browser/chrome_browser_main_linux.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void PreProfileInit() OVERRIDE; | 63 virtual void PreProfileInit() OVERRIDE; |
64 virtual void PostProfileInit() OVERRIDE; | 64 virtual void PostProfileInit() OVERRIDE; |
65 virtual void PreBrowserStart() OVERRIDE; | 65 virtual void PreBrowserStart() OVERRIDE; |
66 virtual void PostBrowserStart() OVERRIDE; | 66 virtual void PostBrowserStart() OVERRIDE; |
67 | 67 |
68 virtual void PostMainMessageLoopRun() OVERRIDE; | 68 virtual void PostMainMessageLoopRun() OVERRIDE; |
69 | 69 |
70 virtual void SetupPlatformFieldTrials() OVERRIDE; | 70 virtual void SetupPlatformFieldTrials() OVERRIDE; |
71 | 71 |
72 private: | 72 private: |
73 // Set up field trial for low memory headroom settings. | |
74 void SetupLowMemoryHeadroomFieldTrial(); | |
75 void SetupZramFieldTrial(); | 73 void SetupZramFieldTrial(); |
76 | 74 |
77 scoped_ptr<contacts::ContactManager> contact_manager_; | 75 scoped_ptr<contacts::ContactManager> contact_manager_; |
78 scoped_ptr<BrightnessObserver> brightness_observer_; | 76 scoped_ptr<BrightnessObserver> brightness_observer_; |
79 scoped_ptr<DisplayConfigurationObserver> display_configuration_observer_; | 77 scoped_ptr<DisplayConfigurationObserver> display_configuration_observer_; |
80 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; | 78 scoped_ptr<default_app_order::ExternalLoader> app_order_loader_; |
81 scoped_ptr<SuspendObserver> suspend_observer_; | 79 scoped_ptr<SuspendObserver> suspend_observer_; |
82 scoped_ptr<ResumeObserver> resume_observer_; | 80 scoped_ptr<ResumeObserver> resume_observer_; |
83 scoped_ptr<ScreenLockObserver> screen_lock_observer_; | 81 scoped_ptr<ScreenLockObserver> screen_lock_observer_; |
84 scoped_ptr<ScreensaverController> screensaver_controller_; | 82 scoped_ptr<ScreensaverController> screensaver_controller_; |
(...skipping 10 matching lines...) Expand all Loading... |
95 VersionLoader cros_version_loader_; | 93 VersionLoader cros_version_loader_; |
96 CancelableTaskTracker tracker_; | 94 CancelableTaskTracker tracker_; |
97 bool use_new_network_change_notifier_; | 95 bool use_new_network_change_notifier_; |
98 | 96 |
99 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 97 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
100 }; | 98 }; |
101 | 99 |
102 } // namespace chromeos | 100 } // namespace chromeos |
103 | 101 |
104 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 102 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
OLD | NEW |