| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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/V8RuntimeAgentImpl.h" | 31 #include "src/inspector/v8-runtime-agent-impl.h" |
| 32 | 32 |
| 33 #include "src/inspector/InjectedScript.h" | 33 #include "src/inspector/injected-script.h" |
| 34 #include "src/inspector/InspectedContext.h" | 34 #include "src/inspector/inspected-context.h" |
| 35 #include "src/inspector/RemoteObjectId.h" | |
| 36 #include "src/inspector/StringUtil.h" | |
| 37 #include "src/inspector/V8ConsoleMessage.h" | |
| 38 #include "src/inspector/V8Debugger.h" | |
| 39 #include "src/inspector/V8DebuggerAgentImpl.h" | |
| 40 #include "src/inspector/V8InspectorImpl.h" | |
| 41 #include "src/inspector/V8InspectorSessionImpl.h" | |
| 42 #include "src/inspector/V8StackTraceImpl.h" | |
| 43 #include "src/inspector/protocol/Protocol.h" | 35 #include "src/inspector/protocol/Protocol.h" |
| 36 #include "src/inspector/remote-object-id.h" |
| 37 #include "src/inspector/string-util.h" |
| 38 #include "src/inspector/v8-console-message.h" |
| 39 #include "src/inspector/v8-debugger-agent-impl.h" |
| 40 #include "src/inspector/v8-debugger.h" |
| 41 #include "src/inspector/v8-inspector-impl.h" |
| 42 #include "src/inspector/v8-inspector-session-impl.h" |
| 43 #include "src/inspector/v8-stack-trace-impl.h" |
| 44 | 44 |
| 45 #include "include/v8-inspector.h" | 45 #include "include/v8-inspector.h" |
| 46 | 46 |
| 47 namespace v8_inspector { | 47 namespace v8_inspector { |
| 48 | 48 |
| 49 namespace V8RuntimeAgentImplState { | 49 namespace V8RuntimeAgentImplState { |
| 50 static const char customObjectFormatterEnabled[] = | 50 static const char customObjectFormatterEnabled[] = |
| 51 "customObjectFormatterEnabled"; | 51 "customObjectFormatterEnabled"; |
| 52 static const char runtimeEnabled[] = "runtimeEnabled"; | 52 static const char runtimeEnabled[] = "runtimeEnabled"; |
| 53 }; | 53 }; |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 } | 721 } |
| 722 | 722 |
| 723 bool V8RuntimeAgentImpl::reportMessage(V8ConsoleMessage* message, | 723 bool V8RuntimeAgentImpl::reportMessage(V8ConsoleMessage* message, |
| 724 bool generatePreview) { | 724 bool generatePreview) { |
| 725 message->reportToFrontend(&m_frontend, m_session, generatePreview); | 725 message->reportToFrontend(&m_frontend, m_session, generatePreview); |
| 726 m_frontend.flush(); | 726 m_frontend.flush(); |
| 727 return m_inspector->hasConsoleMessageStorage(m_session->contextGroupId()); | 727 return m_inspector->hasConsoleMessageStorage(m_session->contextGroupId()); |
| 728 } | 728 } |
| 729 | 729 |
| 730 } // namespace v8_inspector | 730 } // namespace v8_inspector |
| OLD | NEW |