#include "third_party/blink/renderer/platform/bindings/v8_dom_activity_logger.h"
#include <memory>
#include "third_party/blink/public/common/scheme_registry.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/bindings/v8_per_context_data.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "third_party/blink/renderer/platform/weborigin/scheme_registry.h"
#include "third_party/blink/renderer/platform/wtf/hash_map.h"
#include "third_party/blink/renderer/platform/wtf/text/string_hash.h"
namespace blink {
DOMActivityLoggerMapForMainWorld;
DOMActivityLoggerMapForIsolatedWorld;
static DOMActivityLoggerMapForMainWorld& DomActivityLoggersForMainWorld() { … }
static DOMActivityLoggerMapForIsolatedWorld&
DomActivityLoggersForIsolatedWorld() { … }
void V8DOMActivityLogger::LogMethod(ScriptState* script_state,
const char* api_name,
v8::FunctionCallbackInfo<v8::Value> info) { … }
void V8DOMActivityLogger::SetActivityLogger(
int world_id,
const String& extension_id,
std::unique_ptr<V8DOMActivityLogger> logger) { … }
V8DOMActivityLogger* V8DOMActivityLogger::ActivityLogger(
int world_id,
const String& extension_id) { … }
V8DOMActivityLogger* V8DOMActivityLogger::ActivityLogger(int world_id,
const KURL& url) { … }
V8DOMActivityLogger* V8DOMActivityLogger::CurrentActivityLogger(
v8::Isolate* isolate) { … }
V8DOMActivityLogger* V8DOMActivityLogger::CurrentActivityLoggerIfIsolatedWorld(
v8::Isolate* isolate) { … }
bool V8DOMActivityLogger::HasActivityLoggerInIsolatedWorlds() { … }
}