1 #ifndef BROWSER_WRT_BROWSER_MAIN_PARTS_H_
2 #define BROWSER_WRT_BROWSER_MAIN_PARTS_H_
4 #include "base/allocator/buildflags.h"
5 #include "electron/shell/browser/electron_browser_main_parts.h"
7 #if BUILDFLAG(USE_ALLOCATOR_SHIM)
8 #include "tizen_src/ewk/efl_integration/browser/profiling_host/browser_main_extra_parts_profiling.h"
17 class WRTBrowserMainParts : public electron::ElectronBrowserMainParts {
19 WRTBrowserMainParts();
20 virtual ~WRTBrowserMainParts();
22 WRTBrowserMainParts(const WRTBrowserMainParts&) = delete;
23 WRTBrowserMainParts& operator=(const WRTBrowserMainParts&) = delete;
26 // content::BrowserMainParts:
27 void PreCreateMainMessageLoop() override;
28 int PreCreateThreads() override;
29 int PreMainMessageLoopRun() override;
31 #if BUILDFLAG(USE_ALLOCATOR_SHIM)
32 void PostCreateThreads() override;
34 BrowserMainExtraPartsProfiling extra_parts_profiling_;
40 #endif // BROWSER_WRT_BROWSER_MAIN_PARTS_H_