Permalink
Browse files

deps: v8_inspector update

Pick up latest from [1] corresponding to the Blink commit 60cd6e859b.

[1]: pavelfeldman/v8_inspector@55f21a5

PR-URL: #8150
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information...
Eugene Ostroukhov authored and Fishrock123 committed Aug 23, 2016
1 parent feab3d4 commit ac3471ca232aa3373516055f4380a9196115c93e
Showing with 1,852 additions and 1,598 deletions.
  1. +66 −0 deps/v8_inspector/third_party/v8_inspector/platform/PlatformExport.h
  2. 0 ...spector/third_party/v8_inspector/platform/inspector_protocol/{Allocator.h → Allocator_h.template}
  3. +6 −6 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/{Array.h → Array_h.template}
  4. +4 −3 ...d_party/v8_inspector/platform/inspector_protocol/{BackendCallback.h → BackendCallback_h.template}
  5. +218 −169 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/CodeGenerator.py
  6. 0 ...tor/third_party/v8_inspector/platform/inspector_protocol/{Collections.h → Collections_h.template}
  7. +1 −6 ...party/v8_inspector/platform/inspector_protocol/{DispatcherBase.cpp → DispatcherBase_cpp.template}
  8. +11 −10 ...ird_party/v8_inspector/platform/inspector_protocol/{DispatcherBase.h → DispatcherBase_h.template}
  9. +0 −4 ...ird_party/v8_inspector/platform/inspector_protocol/{ErrorSupport.cpp → ErrorSupport_cpp.template}
  10. +4 −3 ...r/third_party/v8_inspector/platform/inspector_protocol/{ErrorSupport.h → ErrorSupport_h.template}
  11. +5 −9 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/Exported_h.template
  12. +3 −2 ...d_party/v8_inspector/platform/inspector_protocol/{FrontendChannel.h → FrontendChannel_h.template}
  13. +2 −4 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/Imported_h.template
  14. +5 −0 .../v8_inspector/third_party/v8_inspector/platform/inspector_protocol/InspectorProtocol_cpp.template
  15. +4 −8 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/{Maybe.h → Maybe_h.template}
  16. +0 −2 ...inspector/third_party/v8_inspector/platform/inspector_protocol/{Object.cpp → Object_cpp.template}
  17. +5 −4 .../v8_inspector/third_party/v8_inspector/platform/inspector_protocol/{Object.h → Object_h.template}
  18. +1 −4 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/ParserTest.cpp
  19. +1 −6 ...inspector/third_party/v8_inspector/platform/inspector_protocol/{Parser.cpp → Parser_cpp.template}
  20. +4 −3 .../v8_inspector/third_party/v8_inspector/platform/inspector_protocol/{Parser.h → Parser_h.template}
  21. +1 −5 ...inspector/third_party/v8_inspector/platform/inspector_protocol/{Platform.h → Platform_h.template}
  22. +0 −14 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16.h
  23. +0 −263 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16STL.h
  24. +0 −47 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16WTF.cpp
  25. +0 −154 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16WTF.h
  26. +99 −0 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16_cpp.template
  27. +181 −0 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/String16_h.template
  28. +3 −5 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/TypeBuilder_cpp.template
  29. +15 −28 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/TypeBuilder_h.template
  30. +7 −7 ...party/v8_inspector/platform/inspector_protocol/{ValueConversions.h → ValueConversions_h.template}
  31. +10 −14 ...inspector/third_party/v8_inspector/platform/inspector_protocol/{Values.cpp → Values_cpp.template}
  32. +11 −10 .../v8_inspector/third_party/v8_inspector/platform/inspector_protocol/{Values.h → Values_h.template}
  33. +9 −6 ...nspector/third_party/v8_inspector/platform/inspector_protocol/generate-inspector-protocol-version
  34. +34 −0 deps/v8_inspector/third_party/v8_inspector/platform/inspector_protocol/sample_config.json
  35. +2 −2 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/Atomics.h
  36. +9 −7 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/DebuggerScript.js
  37. +30 −24 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/InjectedScript.cpp
  38. +6 −11 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/InjectedScript.h
  39. +2 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/InjectedScriptNative.cpp
  40. +5 −5 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/InjectedScriptNative.h
  41. +1 −1 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/InjectedScriptSource.js
  42. +2 −2 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/InspectedContext.cpp
  43. +5 −5 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/InspectedContext.h
  44. +2 −2 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/JavaScriptCallFrame.cpp
  45. +5 −5 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/JavaScriptCallFrame.h
  46. +28 −3 .../v8_inspector/third_party/v8_inspector/platform/{inspector_protocol → v8_inspector}/PlatformSTL.h
  47. 0 .../v8_inspector/third_party/v8_inspector/platform/{inspector_protocol → v8_inspector}/PlatformWTF.h
  48. +2 −6 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/RemoteObjectId.cpp
  49. +4 −8 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/RemoteObjectId.h
  50. +5 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/ScriptBreakpoint.h
  51. +3 −186 ...8_inspector/third_party/v8_inspector/platform/{inspector_protocol → v8_inspector}/String16STL.cpp
  52. +104 −0 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/String16STL.h
  53. +111 −0 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/String16WTF.h
  54. +7 −8 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8Console.cpp
  55. +5 −3 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8Console.h
  56. +2 −2 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8ConsoleAgentImpl.cpp
  57. +5 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8ConsoleAgentImpl.h
  58. +23 −13 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8ConsoleMessage.cpp
  59. +5 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8ConsoleMessage.h
  60. +37 −36 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8Debugger.cpp
  61. +9 −9 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8Debugger.h
  62. +15 −52 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8DebuggerAgentImpl.cpp
  63. +9 −20 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8DebuggerAgentImpl.h
  64. +9 −10 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8DebuggerScript.cpp
  65. +5 −6 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8DebuggerScript.h
  66. +2 −3 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8FunctionCall.cpp
  67. +5 −3 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8FunctionCall.h
  68. +4 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
  69. +5 −5 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8HeapProfilerAgentImpl.h
  70. +4 −3 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8InjectedScriptHost.cpp
  71. +5 −2 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8InjectedScriptHost.h
  72. +4 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8InspectorImpl.cpp
  73. +6 −5 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8InspectorImpl.h
  74. +33 −8 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8InspectorSessionImpl.cpp
  75. +11 −6 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8InspectorSessionImpl.h
  76. +2 −3 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8InternalValueType.cpp
  77. +3 −2 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8InternalValueType.h
  78. +49 −32 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8ProfilerAgentImpl.cpp
  79. +5 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8ProfilerAgentImpl.h
  80. +2 −2 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8Regex.cpp
  81. +3 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8Regex.h
  82. +28 −33 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8RuntimeAgentImpl.cpp
  83. +9 −13 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8RuntimeAgentImpl.h
  84. +29 −0 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8SchemaAgentImpl.cpp
  85. +33 −0 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8SchemaAgentImpl.h
  86. +4 −6 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8StackTraceImpl.cpp
  87. +5 −4 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8StackTraceImpl.h
  88. +22 −25 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8StringUtil.cpp
  89. +7 −6 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8StringUtil.h
  90. +90 −0 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8ValueCopier.cpp
  91. +16 −0 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/V8ValueCopier.h
  92. +1 −2 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/debugger_script_externs.js
  93. +29 −0 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/inspector_protocol_config.json
  94. +29 −0 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/inspector_protocol_config_stl.json
  95. +61 −71 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/js_protocol.json
  96. +1 −1 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/public/InspectorVersion.h
  97. +3 −3 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/public/V8ContextInfo.h
  98. +4 −9 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/public/V8Inspector.h
  99. +4 −5 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/public/V8InspectorClient.h
  100. +7 −6 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/public/V8InspectorSession.h
  101. +4 −5 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/public/V8StackTrace.h
  102. +156 −81 deps/v8_inspector/third_party/v8_inspector/platform/v8_inspector/v8_inspector.gyp
@@ -0,0 +1,66 @@
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef PlatformExport_h
#define PlatformExport_h
#if !defined(BLINK_PLATFORM_IMPLEMENTATION)
#define BLINK_PLATFORM_IMPLEMENTATION 0
#endif
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if BLINK_PLATFORM_IMPLEMENTATION
#define PLATFORM_EXPORT __declspec(dllexport)
#else
#define PLATFORM_EXPORT __declspec(dllimport)
#endif
#else // defined(WIN32)
#define PLATFORM_EXPORT __attribute__((visibility("default")))
#endif
#else // defined(COMPONENT_BUILD)
#define PLATFORM_EXPORT
#endif
#if defined(_MSC_VER)
// MSVC Compiler warning C4275:
// non dll-interface class 'Bar' used as base for dll-interface class 'Foo'.
// Note that this is intended to be used only when no access to the base class'
// static data is done through derived classes or inline methods. For more info,
// see http://msdn.microsoft.com/en-us/library/3tdb471s(VS.80).aspx
//
// This pragma will allow exporting a class that inherits from a non-exported
// base class, anywhere in the Blink platform component. This is only
// a problem when using the MSVC compiler on Windows.
#pragma warning(suppress:4275)
#endif
#endif // PlatformExport_h
@@ -5,11 +5,11 @@
#ifndef Array_h
#define Array_h
#include "platform/inspector_protocol/ErrorSupport.h"
#include "platform/inspector_protocol/Platform.h"
#include "platform/inspector_protocol/String16.h"
#include "platform/inspector_protocol/ValueConversions.h"
#include "platform/inspector_protocol/Values.h"
//#include "ErrorSupport.h"
//#include "Platform.h"
//#include "String16.h"
//#include "ValueConversions.h"
//#include "Values.h"
#include <vector>
@@ -126,7 +126,7 @@ class ArrayBase {
std::vector<T> m_vector;
};
template<> class Array<String> : public ArrayBase<String> {};
template<> class Array<InspectorProtocolConvenienceStringType> : public ArrayBase<InspectorProtocolConvenienceStringType> {};
template<> class Array<String16> : public ArrayBase<String16> {};
template<> class Array<int> : public ArrayBase<int> {};
template<> class Array<double> : public ArrayBase<double> {};
@@ -5,13 +5,14 @@
#ifndef BackendCallback_h
#define BackendCallback_h
#include "platform/inspector_protocol/ErrorSupport.h"
#include "platform/inspector_protocol/Platform.h"
//#include "ErrorSupport.h"
//#include "Platform.h"
#include "{{config.class_export.header}}"
namespace blink {
namespace protocol {
class PLATFORM_EXPORT BackendCallback {
class {{config.class_export.macro}} BackendCallback {
public:
virtual ~BackendCallback() { }
virtual void sendFailure(const ErrorString&) = 0;
Oops, something went wrong.

0 comments on commit ac3471c

Please sign in to comment.