| 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_CHROME_BROWSER_MAIN_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // Please keep |shutdown_watcher| as the first object constructed, and hence | 138 // Please keep |shutdown_watcher| as the first object constructed, and hence |
| 139 // it is destroyed last. | 139 // it is destroyed last. |
| 140 std::unique_ptr<ShutdownWatcherHelper> shutdown_watcher_; | 140 std::unique_ptr<ShutdownWatcherHelper> shutdown_watcher_; |
| 141 | 141 |
| 142 // Statistical testing infrastructure for the entire browser. nullptr until | 142 // Statistical testing infrastructure for the entire browser. nullptr until |
| 143 // |SetupFieldTrials()| is called. | 143 // |SetupFieldTrials()| is called. |
| 144 std::unique_ptr<base::FieldTrialList> field_trial_list_; | 144 std::unique_ptr<base::FieldTrialList> field_trial_list_; |
| 145 | 145 |
| 146 ChromeBrowserFieldTrials browser_field_trials_; | 146 ChromeBrowserFieldTrials browser_field_trials_; |
| 147 | 147 |
| 148 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 148 #if !defined(OS_ANDROID) |
| 149 std::unique_ptr<WebUsbDetector> web_usb_detector_; | 149 std::unique_ptr<WebUsbDetector> web_usb_detector_; |
| 150 #endif | 150 #endif |
| 151 | 151 |
| 152 // Vector of additional ChromeBrowserMainExtraParts. | 152 // Vector of additional ChromeBrowserMainExtraParts. |
| 153 // Parts are deleted in the inverse order they are added. | 153 // Parts are deleted in the inverse order they are added. |
| 154 std::vector<ChromeBrowserMainExtraParts*> chrome_extra_parts_; | 154 std::vector<ChromeBrowserMainExtraParts*> chrome_extra_parts_; |
| 155 | 155 |
| 156 // A profiler that periodically samples stack traces. Used to sample startup | 156 // A profiler that periodically samples stack traces. Used to sample startup |
| 157 // behavior. | 157 // behavior. |
| 158 base::StackSamplingProfiler sampling_profiler_; | 158 base::StackSamplingProfiler sampling_profiler_; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 189 | 189 |
| 190 // Members initialized in PreMainMessageLoopRun, needed in | 190 // Members initialized in PreMainMessageLoopRun, needed in |
| 191 // PreMainMessageLoopRunThreadsCreated. | 191 // PreMainMessageLoopRunThreadsCreated. |
| 192 PrefService* local_state_; | 192 PrefService* local_state_; |
| 193 base::FilePath user_data_dir_; | 193 base::FilePath user_data_dir_; |
| 194 | 194 |
| 195 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); | 195 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 198 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
| OLD | NEW |