| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 virtual void PostMainMessageLoopStart() OVERRIDE; | 59 virtual void PostMainMessageLoopStart() OVERRIDE; |
| 60 virtual void PreMainMessageLoopRun() OVERRIDE; | 60 virtual void PreMainMessageLoopRun() OVERRIDE; |
| 61 | 61 |
| 62 // Stages called from PreMainMessageLoopRun. | 62 // Stages called from PreMainMessageLoopRun. |
| 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 virtual void PostDestroyThreads() OVERRIDE; |
| 69 | 70 |
| 70 virtual void SetupPlatformFieldTrials() OVERRIDE; | 71 virtual void SetupPlatformFieldTrials() OVERRIDE; |
| 71 | 72 |
| 72 private: | 73 private: |
| 73 // Set up field trial for low memory headroom settings. | 74 // Set up field trial for low memory headroom settings. |
| 74 void SetupLowMemoryHeadroomFieldTrial(); | 75 void SetupLowMemoryHeadroomFieldTrial(); |
| 75 void SetupZramFieldTrial(); | 76 void SetupZramFieldTrial(); |
| 76 | 77 |
| 77 scoped_ptr<contacts::ContactManager> contact_manager_; | 78 scoped_ptr<contacts::ContactManager> contact_manager_; |
| 78 scoped_ptr<BrightnessObserver> brightness_observer_; | 79 scoped_ptr<BrightnessObserver> brightness_observer_; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 95 VersionLoader cros_version_loader_; | 96 VersionLoader cros_version_loader_; |
| 96 CancelableTaskTracker tracker_; | 97 CancelableTaskTracker tracker_; |
| 97 bool use_new_network_change_notifier_; | 98 bool use_new_network_change_notifier_; |
| 98 | 99 |
| 99 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 100 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 } // namespace chromeos | 103 } // namespace chromeos |
| 103 | 104 |
| 104 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 105 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| OLD | NEW |