[email protected] | 81ce2c4 | 2012-03-24 01:43:26 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | e6b5bc2 | 2011-09-08 22:01:56 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | ||||
6 | #define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ | ||||
[email protected] | e6b5bc2 | 2011-09-08 22:01:56 | [diff] [blame] | 7 | |
8 | #include "chrome/browser/chrome_browser_main_posix.h" | ||||
9 | |||||
10 | class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix { | ||||
11 | public: | ||||
[email protected] | 4573fbd | 2011-10-31 20:25:18 | [diff] [blame] | 12 | explicit ChromeBrowserMainPartsMac( |
13 | const content::MainFunctionParams& parameters); | ||||
Daniel Cheng | a542fca | 2014-10-21 09:51:29 | [diff] [blame] | 14 | ~ChromeBrowserMainPartsMac() override; |
[email protected] | e6b5bc2 | 2011-09-08 22:01:56 | [diff] [blame] | 15 | |
[email protected] | b48c918 | 2011-10-26 18:03:30 | [diff] [blame] | 16 | // BrowserParts overrides. |
Daniel Cheng | a542fca | 2014-10-21 09:51:29 | [diff] [blame] | 17 | void PreEarlyInitialization() override; |
18 | void PreMainMessageLoopStart() override; | ||||
19 | void PostMainMessageLoopStart() override; | ||||
20 | void PreProfileInit() override; | ||||
21 | void PostProfileInit() override; | ||||
[email protected] | 03d8d3e9 | 2011-09-20 06:07:11 | [diff] [blame] | 22 | |
23 | // Perform platform-specific work that needs to be done after the main event | ||||
24 | // loop has ended. The embedder must be sure to call this. | ||||
25 | static void DidEndMainMessageLoop(); | ||||
[email protected] | 81ce2c4 | 2012-03-24 01:43:26 | [diff] [blame] | 26 | |
27 | private: | ||||
28 | DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac); | ||||
[email protected] | e6b5bc2 | 2011-09-08 22:01:56 | [diff] [blame] | 29 | }; |
30 | |||||
31 | #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_ |