blob: 38767fecc37efc750d96cfc1a8bb9e87edf4e636 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
#define CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_
#include "base/macros.h"
#include "chrome/browser/chrome_browser_main_posix.h"
class ChromeBrowserMainPartsMac : public ChromeBrowserMainPartsPosix {
public:
ChromeBrowserMainPartsMac(
const content::MainFunctionParams& parameters,
ChromeFeatureListCreator* chrome_feature_list_creator);
~ChromeBrowserMainPartsMac() override;
// BrowserParts overrides.
int PreEarlyInitialization() override;
void PostEarlyInitialization() override;
void PreMainMessageLoopStart() override;
void PostMainMessageLoopStart() override;
void PreProfileInit() override;
void PostProfileInit() override;
// Perform platform-specific work that needs to be done after the main event
// loop has ended. The embedder must be sure to call this.
static void DidEndMainMessageLoop();
private:
DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsMac);
};
#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_MAC_H_