Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp

Issue 2772613002: [instrumentation] Rename InspectorInstrumentation into CoreProbes (Closed)
Patch Set: fix typo Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 #include "bindings/core/v8/BindingSecurity.h" 28 #include "bindings/core/v8/BindingSecurity.h"
29 #include "bindings/core/v8/ScriptSourceCode.h" 29 #include "bindings/core/v8/ScriptSourceCode.h"
30 #include "bindings/core/v8/ScriptStreamer.h" 30 #include "bindings/core/v8/ScriptStreamer.h"
31 #include "bindings/core/v8/V8Binding.h" 31 #include "bindings/core/v8/V8Binding.h"
32 #include "bindings/core/v8/V8GCController.h" 32 #include "bindings/core/v8/V8GCController.h"
33 #include "bindings/core/v8/V8ThrowException.h" 33 #include "bindings/core/v8/V8ThrowException.h"
34 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
35 #include "core/dom/ExecutionContext.h" 35 #include "core/dom/ExecutionContext.h"
36 #include "core/frame/LocalDOMWindow.h" 36 #include "core/frame/LocalDOMWindow.h"
37 #include "core/frame/LocalFrame.h" 37 #include "core/frame/LocalFrame.h"
38 #include "core/inspector/InspectorInstrumentation.h"
39 #include "core/inspector/InspectorTraceEvents.h" 38 #include "core/inspector/InspectorTraceEvents.h"
40 #include "core/inspector/ThreadDebugger.h" 39 #include "core/inspector/ThreadDebugger.h"
41 #include "core/loader/resource/ScriptResource.h" 40 #include "core/loader/resource/ScriptResource.h"
41 #include "core/probe/CoreProbes.h"
42 #include "platform/Histogram.h" 42 #include "platform/Histogram.h"
43 #include "platform/ScriptForbiddenScope.h" 43 #include "platform/ScriptForbiddenScope.h"
44 #include "platform/instrumentation/tracing/TraceEvent.h" 44 #include "platform/instrumentation/tracing/TraceEvent.h"
45 #include "platform/loader/fetch/CachedMetadata.h" 45 #include "platform/loader/fetch/CachedMetadata.h"
46 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
47 #include "wtf/CurrentTime.h" 47 #include "wtf/CurrentTime.h"
48 48
49 #if OS(WIN) 49 #if OS(WIN)
50 #include <malloc.h> 50 #include <malloc.h>
51 #else 51 #else
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 v8AtomicString(isolate, "((e) => { throw e; })"), origin) 717 v8AtomicString(isolate, "((e) => { throw e; })"), origin)
718 .ToLocalChecked(); 718 .ToLocalChecked();
719 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script) 719 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script)
720 .ToLocalChecked() 720 .ToLocalChecked()
721 .As<v8::Function>(); 721 .As<v8::Function>();
722 v8::Local<v8::Value> args[] = {exception}; 722 v8::Local<v8::Value> args[] = {exception};
723 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate); 723 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate);
724 } 724 }
725 725
726 } // namespace blink 726 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698