| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef GIN_PUBLIC_DEBUG_H_ | 5 #ifndef GIN_PUBLIC_DEBUG_H_ |
| 6 #define GIN_PUBLIC_DEBUG_H_ | 6 #define GIN_PUBLIC_DEBUG_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 9 #include "gin/gin_export.h" | 11 #include "gin/gin_export.h" |
| 10 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
| 11 | 13 |
| 12 namespace gin { | 14 namespace gin { |
| 13 | 15 |
| 14 class GIN_EXPORT Debug { | 16 class GIN_EXPORT Debug { |
| 15 public: | 17 public: |
| 16 /* Installs a callback that is invoked on entry to every V8-generated | 18 /* Installs a callback that is invoked on entry to every V8-generated |
| 17 * function. | 19 * function. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 /* Sets a callback that is invoked for every previously registered code range | 50 /* Sets a callback that is invoked for every previously registered code range |
| 49 * when it is deleted. | 51 * when it is deleted. |
| 50 */ | 52 */ |
| 51 static void SetCodeRangeDeletedCallback(CodeRangeDeletedCallback callback); | 53 static void SetCodeRangeDeletedCallback(CodeRangeDeletedCallback callback); |
| 52 #endif | 54 #endif |
| 53 }; | 55 }; |
| 54 | 56 |
| 55 } // namespace gin | 57 } // namespace gin |
| 56 | 58 |
| 57 #endif // GIN_PUBLIC_DEBUG_H_ | 59 #endif // GIN_PUBLIC_DEBUG_H_ |
| OLD | NEW |