blob: 1e50c623c14c1021a821ef548466eeb77f31b3e6 [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
avie4d7b6f2015-12-26 00:59:188#include "base/macros.h"
[email protected]e6b5bc22011-09-08 22:01:569#include "chrome/browser/chrome_browser_main_posix.h"
10
11class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix {
12 public:
Xi Han85079c22019-04-18 21:43:0513 ChromeBrowserMainPartsMac(const content::MainFunctionParams& parameters,
14 StartupData* startup_data);
Daniel Chenga542fca2014-10-21 09:51:2915 ~ChromeBrowserMainPartsMac() override;
[email protected]e6b5bc22011-09-08 22:01:5616
[email protected]b48c9182011-10-26 18:03:3017 // BrowserParts overrides.
Scott Violet9068b4df2018-01-12 16:44:2118 int PreEarlyInitialization() override;
Daniel Chenga542fca2014-10-21 09:51:2919 void PreMainMessageLoopStart() override;
20 void PostMainMessageLoopStart() override;
21 void PreProfileInit() override;
22 void PostProfileInit() override;
[email protected]03d8d3e92011-09-20 06:07:1123
24 // Perform platform-specific work that needs to be done after the main event
25 // loop has ended. The embedder must be sure to call this.
26 static void DidEndMainMessageLoop();
[email protected]81ce2c42012-03-24 01:43:2627
28 private:
29 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac);
[email protected]e6b5bc22011-09-08 22:01:5630};
31
32#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_