blob: 1650fe8ceb21d7666d3a6413ece7c4cf11a291a1 [file] [log] [blame]
[email protected]81ce2c42012-03-24 01:43:261// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]e6b5bc22011-09-08 22:01:562// 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]e6b5bc22011-09-08 22:01:567
[email protected]e6b5bc22011-09-08 22:01:568#include "chrome/browser/chrome_browser_main_posix.h"
9
10class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix {
11 public:
Gabriel Charettefbeeb1c2021-11-10 20:50:0612 ChromeBrowserMainPartsMac(content::MainFunctionParams parameters,
Xi Han85079c22019-04-18 21:43:0513 StartupData* startup_data);
Peter Boström53c6c5952021-09-17 09:41:2614
15 ChromeBrowserMainPartsMac(const ChromeBrowserMainPartsMac&) = delete;
16 ChromeBrowserMainPartsMac& operator=(const ChromeBrowserMainPartsMac&) =
17 delete;
18
Daniel Chenga542fca2014-10-21 09:51:2919 ~ChromeBrowserMainPartsMac() override;
[email protected]e6b5bc22011-09-08 22:01:5620
[email protected]b48c9182011-10-26 18:03:3021 // BrowserParts overrides.
Scott Violet9068b4df2018-01-12 16:44:2122 int PreEarlyInitialization() override;
Gabriel Charette09c6a96e2021-05-17 14:52:5923 void PreCreateMainMessageLoop() override;
24 void PostCreateMainMessageLoop() override;
Daniel Chenga542fca2014-10-21 09:51:2925 void PreProfileInit() override;
Nicolas Dossou-Gbete81c4a832022-01-12 19:01:1426 void PostProfileInit(Profile* profile, bool is_initial_profile) override;
[email protected]03d8d3e92011-09-20 06:07:1127
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();
[email protected]e6b5bc22011-09-08 22:01:5631};
32
33#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_