| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "src/inspector/InjectedScript.h" | 31 #include "src/inspector/injected-script.h" |
| 32 | 32 |
| 33 #include "src/inspector/InjectedScriptNative.h" | 33 #include "src/inspector/injected-script-native.h" |
| 34 #include "src/inspector/InjectedScriptSource.h" | 34 #include "src/inspector/injected-script-source.h" |
| 35 #include "src/inspector/InspectedContext.h" | 35 #include "src/inspector/inspected-context.h" |
| 36 #include "src/inspector/RemoteObjectId.h" | |
| 37 #include "src/inspector/StringUtil.h" | |
| 38 #include "src/inspector/V8Console.h" | |
| 39 #include "src/inspector/V8FunctionCall.h" | |
| 40 #include "src/inspector/V8InjectedScriptHost.h" | |
| 41 #include "src/inspector/V8InspectorImpl.h" | |
| 42 #include "src/inspector/V8InspectorSessionImpl.h" | |
| 43 #include "src/inspector/V8StackTraceImpl.h" | |
| 44 #include "src/inspector/V8ValueCopier.h" | |
| 45 #include "src/inspector/protocol/Protocol.h" | 36 #include "src/inspector/protocol/Protocol.h" |
| 37 #include "src/inspector/remote-object-id.h" |
| 38 #include "src/inspector/string-util.h" |
| 39 #include "src/inspector/v8-console.h" |
| 40 #include "src/inspector/v8-function-call.h" |
| 41 #include "src/inspector/v8-injected-script-host.h" |
| 42 #include "src/inspector/v8-inspector-impl.h" |
| 43 #include "src/inspector/v8-inspector-session-impl.h" |
| 44 #include "src/inspector/v8-stack-trace-impl.h" |
| 45 #include "src/inspector/v8-value-copier.h" |
| 46 | 46 |
| 47 #include "include/v8-inspector.h" | 47 #include "include/v8-inspector.h" |
| 48 | 48 |
| 49 namespace v8_inspector { | 49 namespace v8_inspector { |
| 50 | 50 |
| 51 using protocol::Array; | 51 using protocol::Array; |
| 52 using protocol::Runtime::PropertyDescriptor; | 52 using protocol::Runtime::PropertyDescriptor; |
| 53 using protocol::Runtime::InternalPropertyDescriptor; | 53 using protocol::Runtime::InternalPropertyDescriptor; |
| 54 using protocol::Runtime::RemoteObject; | 54 using protocol::Runtime::RemoteObject; |
| 55 using protocol::Maybe; | 55 using protocol::Maybe; |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 void InjectedScript::CallFrameScope::findInjectedScript( | 561 void InjectedScript::CallFrameScope::findInjectedScript( |
| 562 V8InspectorSessionImpl* session) { | 562 V8InspectorSessionImpl* session) { |
| 563 std::unique_ptr<RemoteCallFrameId> remoteId = | 563 std::unique_ptr<RemoteCallFrameId> remoteId = |
| 564 RemoteCallFrameId::parse(m_errorString, m_remoteCallFrameId); | 564 RemoteCallFrameId::parse(m_errorString, m_remoteCallFrameId); |
| 565 if (!remoteId) return; | 565 if (!remoteId) return; |
| 566 m_frameOrdinal = static_cast<size_t>(remoteId->frameOrdinal()); | 566 m_frameOrdinal = static_cast<size_t>(remoteId->frameOrdinal()); |
| 567 m_injectedScript = session->findInjectedScript(m_errorString, remoteId.get()); | 567 m_injectedScript = session->findInjectedScript(m_errorString, remoteId.get()); |
| 568 } | 568 } |
| 569 | 569 |
| 570 } // namespace v8_inspector | 570 } // namespace v8_inspector |
| OLD | NEW |