| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 void PostEarlyInitialization() override; | 68 void PostEarlyInitialization() override; |
| 69 void ToolkitInitialized() override; | 69 void ToolkitInitialized() override; |
| 70 void PreMainMessageLoopStart() override; | 70 void PreMainMessageLoopStart() override; |
| 71 void PostMainMessageLoopStart() override; | 71 void PostMainMessageLoopStart() override; |
| 72 int PreCreateThreads() override; | 72 int PreCreateThreads() override; |
| 73 void ServiceManagerConnectionStarted( | 73 void ServiceManagerConnectionStarted( |
| 74 content::ServiceManagerConnection* connection) override; | 74 content::ServiceManagerConnection* connection) override; |
| 75 void PreMainMessageLoopRun() override; | 75 void PreMainMessageLoopRun() override; |
| 76 bool MainMessageLoopRun(int* result_code) override; | 76 bool MainMessageLoopRun(int* result_code) override; |
| 77 void PostMainMessageLoopRun() override; | 77 void PostMainMessageLoopRun() override; |
| 78 void PreShutdown() override; |
| 78 void PostDestroyThreads() override; | 79 void PostDestroyThreads() override; |
| 79 | 80 |
| 80 // Additional stages for ChromeBrowserMainExtraParts. These stages are called | 81 // Additional stages for ChromeBrowserMainExtraParts. These stages are called |
| 81 // in order from PreMainMessageLoopRun(). See implementation for details. | 82 // in order from PreMainMessageLoopRun(). See implementation for details. |
| 82 virtual void PreProfileInit(); | 83 virtual void PreProfileInit(); |
| 83 virtual void PostProfileInit(); | 84 virtual void PostProfileInit(); |
| 84 virtual void PreBrowserStart(); | 85 virtual void PreBrowserStart(); |
| 85 virtual void PostBrowserStart(); | 86 virtual void PostBrowserStart(); |
| 86 | 87 |
| 87 // Displays a warning message that we can't find any locale data files. | 88 // Displays a warning message that we can't find any locale data files. |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 194 |
| 194 // Members initialized in PreMainMessageLoopRun, needed in | 195 // Members initialized in PreMainMessageLoopRun, needed in |
| 195 // PreMainMessageLoopRunThreadsCreated. | 196 // PreMainMessageLoopRunThreadsCreated. |
| 196 PrefService* local_state_; | 197 PrefService* local_state_; |
| 197 base::FilePath user_data_dir_; | 198 base::FilePath user_data_dir_; |
| 198 | 199 |
| 199 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); | 200 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); |
| 200 }; | 201 }; |
| 201 | 202 |
| 202 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 203 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
| OLD | NEW |