28 lines
1.0 KiB
C++
28 lines
1.0 KiB
C++
/* Copyright 2019 The Brave Authors. All rights reserved.
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef BRAVE_BROWSER_BRAVE_BROWSER_MAIN_EXTRA_PARTS_H_
|
|
#define BRAVE_BROWSER_BRAVE_BROWSER_MAIN_EXTRA_PARTS_H_
|
|
|
|
#include "base/compiler_specific.h"
|
|
#include "chrome/browser/chrome_browser_main.h"
|
|
#include "chrome/browser/chrome_browser_main_extra_parts.h"
|
|
|
|
class BraveBrowserMainExtraParts : public ChromeBrowserMainExtraParts {
|
|
public:
|
|
BraveBrowserMainExtraParts();
|
|
BraveBrowserMainExtraParts(const BraveBrowserMainExtraParts&) = delete;
|
|
BraveBrowserMainExtraParts& operator=(const BraveBrowserMainExtraParts&) =
|
|
delete;
|
|
~BraveBrowserMainExtraParts() override;
|
|
|
|
// ChromeBrowserMainExtraParts overrides.
|
|
void PostBrowserStart() override;
|
|
void PreMainMessageLoopRun() override;
|
|
void PreProfileInit() override;
|
|
};
|
|
|
|
#endif // BRAVE_BROWSER_BRAVE_BROWSER_MAIN_EXTRA_PARTS_H_
|