blob: 8e3f9135db8cef9751901a987d5548252da17b5f [file] [log] [blame]
James Cook70fee9862020-11-18 17:28:401// Copyright 2020 The Chromium Authors. All rights reserved.
2// 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_PARTS_LACROS_H_
6#define CHROME_BROWSER_CHROME_BROWSER_MAIN_PARTS_LACROS_H_
7
James Cookf07ca6602020-12-08 02:49:178#include <memory>
9
James Cook70fee9862020-11-18 17:28:4010#include "chrome/browser/chrome_browser_main_linux.h"
11
James Cookf07ca6602020-12-08 02:49:1712class MetricsReportingObserver;
13
James Cook70fee9862020-11-18 17:28:4014// Startup and shutdown code for Lacros. See ChromeBrowserMainParts for details.
15class ChromeBrowserMainPartsLacros : public ChromeBrowserMainPartsLinux {
16 public:
17 ChromeBrowserMainPartsLacros(const content::MainFunctionParams& parameters,
18 StartupData* startup_data);
19 ChromeBrowserMainPartsLacros(const ChromeBrowserMainPartsLacros&) = delete;
20 ChromeBrowserMainPartsLacros& operator=(const ChromeBrowserMainPartsLacros&) =
21 delete;
22 ~ChromeBrowserMainPartsLacros() override;
23
24 // ChromeBrowserMainParts:
25 int PreEarlyInitialization() override;
James Cookf07ca6602020-12-08 02:49:1726
27 private:
28 std::unique_ptr<MetricsReportingObserver> metrics_reporting_observer_;
James Cook70fee9862020-11-18 17:28:4029};
30
31#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_PARTS_LACROS_H_