#ifndef EXTENSIONS_COMMON_API_APP_RUNTIME_H__
#define EXTENSIONS_COMMON_API_APP_RUNTIME_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
#include <string_view>
namespace extensions {
namespace api {
namespace app_runtime {
struct LaunchItem { … };
enum class LaunchSource { … };
const char* ToString(LaunchSource as_enum);
LaunchSource ParseLaunchSource(std::string_view as_string);
std::u16string GetLaunchSourceParseError(std::string_view as_string);
enum class ActionType { … };
const char* ToString(ActionType as_enum);
ActionType ParseActionType(std::string_view as_string);
std::u16string GetActionTypeParseError(std::string_view as_string);
struct ActionData { … };
struct LaunchData { … };
struct EmbedRequest { … };
namespace OnEmbedRequested {
extern const char kEventName[];
base::Value::List Create(const EmbedRequest& request);
}
namespace OnLaunched {
extern const char kEventName[];
base::Value::List Create(const LaunchData& launch_data);
}
namespace OnRestarted {
extern const char kEventName[];
base::Value::List Create();
}
}
}
}
#endif