#include "extensions/browser/guest_view/guest_view_events.h"
#include <map>
#include "base/lazy_instance.h"
#include "components/guest_view/common/guest_view_constants.h"
#include "extensions/browser/guest_view/extension_options/extension_options_constants.h"
#include "extensions/browser/guest_view/web_view/web_view_constants.h"
#include "extensions/common/api/extension_options_internal.h"
namespace extensions {
namespace guest_view_events {
namespace {
constexpr char kEventAuthRequired[] = …;
constexpr char kEventBeforeRedirect[] = …;
constexpr char kEventBeforeRequest[] = …;
constexpr char kEventBeforeSendHeaders[] = …;
constexpr char kEventCompleted[] = …;
constexpr char kEventErrorOccurred[] = …;
constexpr char kEventSendHeaders[] = …;
class EventMap { … };
base::LazyInstance<EventMap>::DestructorAtExit g_event_map = …;
}
events::HistogramValue GetEventHistogramValue(const std::string& event_name) { … }
}
}