| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 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 V8DebuggerScript_h | 30 #ifndef V8DebuggerScript_h |
| 31 #define V8DebuggerScript_h | 31 #define V8DebuggerScript_h |
| 32 | 32 |
| 33 #include "platform/inspector_protocol/Allocator.h" | 33 #include "platform/inspector_protocol/InspectorProtocol.h" |
| 34 #include "platform/inspector_protocol/String16.h" | |
| 35 #include <v8.h> | 34 #include <v8.h> |
| 36 | 35 |
| 37 namespace blink { | 36 namespace blink { |
| 38 | 37 |
| 39 class V8DebuggerScript { | 38 class V8DebuggerScript { |
| 40 PROTOCOL_DISALLOW_COPY(V8DebuggerScript); | 39 PROTOCOL_DISALLOW_COPY(V8DebuggerScript); |
| 41 public: | 40 public: |
| 42 V8DebuggerScript(v8::Isolate*, v8::Local<v8::Object>, bool isLiveEdit); | 41 V8DebuggerScript(v8::Isolate*, v8::Local<v8::Object>, bool isLiveEdit); |
| 43 ~V8DebuggerScript(); | 42 ~V8DebuggerScript(); |
| 44 | 43 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 int m_executionContextId; | 75 int m_executionContextId; |
| 77 String16 m_executionContextAuxData; | 76 String16 m_executionContextAuxData; |
| 78 bool m_isInternalScript; | 77 bool m_isInternalScript; |
| 79 bool m_isLiveEdit; | 78 bool m_isLiveEdit; |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 } // namespace blink | 81 } // namespace blink |
| 83 | 82 |
| 84 | 83 |
| 85 #endif // V8DebuggerScript_h | 84 #endif // V8DebuggerScript_h |
| OLD | NEW |