1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
8 #include "chrome/browser/chrome_browser_main_posix.h"
10 class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix {
12 ChromeBrowserMainPartsMac(bool is_integration_test,
13 StartupData* startup_data);
15 ChromeBrowserMainPartsMac(const ChromeBrowserMainPartsMac&) = delete;
16 ChromeBrowserMainPartsMac& operator=(const ChromeBrowserMainPartsMac&) =
19 ~ChromeBrowserMainPartsMac() override;
21 // BrowserParts overrides.
22 int PreEarlyInitialization() override;
23 void PreCreateMainMessageLoop() override;
24 void PostCreateMainMessageLoop() override;
25 void PreProfileInit() override;
26 void PostProfileInit(Profile* profile, bool is_initial_profile) override;
28 // Perform platform-specific work that needs to be done after the main event
29 // loop has ended. The embedder must be sure to call this.
30 static void DidEndMainMessageLoop();
33 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_