| 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 V8_INSPECTOR_SCRIPTBREAKPOINT_H_ | 30 #ifndef V8_INSPECTOR_SCRIPTBREAKPOINT_H_ |
| 31 #define V8_INSPECTOR_SCRIPTBREAKPOINT_H_ | 31 #define V8_INSPECTOR_SCRIPTBREAKPOINT_H_ |
| 32 | 32 |
| 33 #include "src/inspector/String16.h" | 33 #include "src/inspector/string-16.h" |
| 34 | 34 |
| 35 namespace v8_inspector { | 35 namespace v8_inspector { |
| 36 | 36 |
| 37 struct ScriptBreakpoint { | 37 struct ScriptBreakpoint { |
| 38 ScriptBreakpoint() : ScriptBreakpoint(0, 0, String16()) {} | 38 ScriptBreakpoint() : ScriptBreakpoint(0, 0, String16()) {} |
| 39 | 39 |
| 40 ScriptBreakpoint(int lineNumber, int columnNumber, const String16& condition) | 40 ScriptBreakpoint(int lineNumber, int columnNumber, const String16& condition) |
| 41 : lineNumber(lineNumber), | 41 : lineNumber(lineNumber), |
| 42 columnNumber(columnNumber), | 42 columnNumber(columnNumber), |
| 43 condition(condition) {} | 43 condition(condition) {} |
| 44 | 44 |
| 45 int lineNumber; | 45 int lineNumber; |
| 46 int columnNumber; | 46 int columnNumber; |
| 47 String16 condition; | 47 String16 condition; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace v8_inspector | 50 } // namespace v8_inspector |
| 51 | 51 |
| 52 #endif // V8_INSPECTOR_SCRIPTBREAKPOINT_H_ | 52 #endif // V8_INSPECTOR_SCRIPTBREAKPOINT_H_ |
| OLD | NEW |