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