| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef ScriptBreakpoint_h | 30 #ifndef ScriptBreakpoint_h |
| 31 #define ScriptBreakpoint_h | 31 #define ScriptBreakpoint_h |
| 32 | 32 |
| 33 #include "platform/inspector_protocol/InspectorProtocol.h" | 33 #include "platform/v8_inspector/String16.h" |
| 34 | 34 |
| 35 namespace v8_inspector { | 35 namespace v8_inspector { |
| 36 | 36 |
| 37 namespace protocol = blink::protocol; | |
| 38 | |
| 39 struct ScriptBreakpoint { | 37 struct ScriptBreakpoint { |
| 40 ScriptBreakpoint() : ScriptBreakpoint(0, 0, String16()) { } | 38 ScriptBreakpoint() : ScriptBreakpoint(0, 0, String16()) { } |
| 41 | 39 |
| 42 ScriptBreakpoint(int lineNumber, int columnNumber, const String16& condition
) | 40 ScriptBreakpoint(int lineNumber, int columnNumber, const String16& condition
) |
| 43 : lineNumber(lineNumber) | 41 : lineNumber(lineNumber) |
| 44 , columnNumber(columnNumber) | 42 , columnNumber(columnNumber) |
| 45 , condition(condition) | 43 , condition(condition) |
| 46 { | 44 { |
| 47 } | 45 } |
| 48 | 46 |
| 49 int lineNumber; | 47 int lineNumber; |
| 50 int columnNumber; | 48 int columnNumber; |
| 51 String16 condition; | 49 String16 condition; |
| 52 }; | 50 }; |
| 53 | 51 |
| 54 } // namespace v8_inspector | 52 } // namespace v8_inspector |
| 55 | 53 |
| 56 #endif // !defined(ScriptBreakpoint_h) | 54 #endif // !defined(ScriptBreakpoint_h) |
| OLD | NEW |