blob: f6bf118e7f242ff5888bd989bdeb9f8ecc5f56d7 [file] [log] [blame]
[email protected]81ce2c42012-03-24 01:43:261// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]b48c9182011-10-26 18:03:302// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Contains functions used by BrowserMain() that are linux-specific.
6
7#ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
8#define CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
[email protected]b48c9182011-10-26 18:03:309
10#include "base/compiler_specific.h"
avie4d7b6f2015-12-26 00:59:1811#include "base/macros.h"
[email protected]b48c9182011-10-26 18:03:3012#include "chrome/browser/chrome_browser_main_posix.h"
[email protected]cbf0d1d2012-08-15 20:54:0613
[email protected]b48c9182011-10-26 18:03:3014class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix {
15 public:
Xi Handdb1ab12018-08-27 22:18:5416 ChromeBrowserMainPartsLinux(
Ran Jia96d43d42018-05-02 17:14:5317 const content::MainFunctionParams& parameters,
Xi Handdb1ab12018-08-27 22:18:5418 ChromeFeatureListCreator* chrome_feature_list_creator);
dchenge1bc7982014-10-30 00:32:4019 ~ChromeBrowserMainPartsLinux() override;
[email protected]b48c9182011-10-26 18:03:3020
[email protected]a5e8c6d42012-04-09 20:22:0121 // ChromeBrowserMainParts overrides.
dchenge1bc7982014-10-30 00:32:4022 void ToolkitInitialized() override;
23 void PreProfileInit() override;
24 void PostProfileInit() override;
rkc41077042015-11-06 07:20:5825 void PostMainMessageLoopStart() override;
26 void PostDestroyThreads() override;
[email protected]a5e8c6d42012-04-09 20:22:0127
[email protected]81ce2c42012-03-24 01:43:2628 private:
29 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux);
[email protected]b48c9182011-10-26 18:03:3030};
31
32#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_