#ifndef CEF_TESTS_SHARED_COMMON_CLIENT_APP_H_
#define CEF_TESTS_SHARED_COMMON_CLIENT_APP_H_
#pragma once
#include <vector>
#include "include/cef_app.h"
namespace client {
class ClientApp : public CefApp {
public:
ClientApp();
enum ProcessType {
BrowserProcess,
RendererProcess,
ZygoteProcess,
OtherProcess,
};
static ProcessType GetProcessType(CefRefPtr<CefCommandLine> command_line);
private:
static void RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar);
void OnRegisterCustomSchemes(
CefRawPtr<CefSchemeRegistrar> registrar) override;
DISALLOW_COPY_AND_ASSIGN(ClientApp);
};
}
#endif