[M120 Migration]Fix for crash during chrome exit
[platform/framework/web/chromium-efl.git] / chrome / browser / chrome_browser_main_extra_parts_ozone.h
1 // Copyright 2020 The Chromium Authors
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_EXTRA_PARTS_OZONE_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_OZONE_H_
7
8 #include "chrome/browser/chrome_browser_main_extra_parts.h"
9
10 class ChromeBrowserMainExtraPartsOzone : public ChromeBrowserMainExtraParts {
11  public:
12   ChromeBrowserMainExtraPartsOzone();
13   ChromeBrowserMainExtraPartsOzone(const ChromeBrowserMainExtraPartsOzone&) =
14       delete;
15   ChromeBrowserMainExtraPartsOzone& operator=(
16       const ChromeBrowserMainExtraPartsOzone&) = delete;
17   ~ChromeBrowserMainExtraPartsOzone() override;
18
19  protected:
20   // ChromeBrowserMainExtraParts overrides.
21   void PreEarlyInitialization() override;
22   void PostCreateMainMessageLoop() override;
23   void PostMainMessageLoopRun() override;
24 };
25
26 #endif  // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_OZONE_H_