#pragma once #include "include/cef_app.h" #include class HumanApp : public CefApp { public: HumanApp(); enum ProcessType { BrowserProcess, RendererProcess, ZygoteProcess, OtherProcess, }; // Determine the process type based on command-line arguments. static ProcessType GetProcessType(CefRefPtr command_line); private: // Registers custom schemes. Implemented by cefclient in // client_app_delegates_common.cc static void RegisterCustomSchemes(CefRawPtr registrar); // CefApp methods. void OnRegisterCustomSchemes( CefRawPtr registrar) override; DISALLOW_COPY_AND_ASSIGN(HumanApp); };