Chromium Code Reviews| 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 CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ | 
| 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ | 
| 7 | 7 | 
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" | 
| 9 | 9 | 
| 10 namespace content { | 10 namespace content { | 
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 // May set |result_code|, which will be returned by |BrowserMain()|. | 84 // May set |result_code|, which will be returned by |BrowserMain()|. | 
| 85 virtual bool MainMessageLoopRun(int* result_code); | 85 virtual bool MainMessageLoopRun(int* result_code); | 
| 86 | 86 | 
| 87 // This happens after the main message loop has stopped, but before | 87 // This happens after the main message loop has stopped, but before | 
| 88 // threads are stopped. | 88 // threads are stopped. | 
| 89 virtual void PostMainMessageLoopRun() {} | 89 virtual void PostMainMessageLoopRun() {} | 
| 90 | 90 | 
| 91 // Called as the very last part of shutdown, after threads have been | 91 // Called as the very last part of shutdown, after threads have been | 
| 92 // stopped and destroyed. | 92 // stopped and destroyed. | 
| 93 virtual void PostDestroyThreads() {} | 93 virtual void PostDestroyThreads() {} | 
| 94 | |
| 95 // Called when shutdown is about to begin. | |
| 96 virtual void PreShutdown() {} | |
| 97 | |
| 98 // Called when shutdown is complete. This is the very last method called | |
| 99 // before "parts" is disconnected from the main runner. | |
| 100 virtual void PostShutdown() {} | |
| 
 
Mike Wittman
2016/12/01 16:40:33
Internal interfaces in Chrome are generally not ad
 
bcwhite
2016/12/01 17:59:54
Done.
 
 | |
| 94 }; | 101 }; | 
| 95 | 102 | 
| 96 } // namespace content | 103 } // namespace content | 
| 97 | 104 | 
| 98 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ | 105 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_PARTS_H_ | 
| OLD | NEW |