Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.h

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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/InspectorProtocol.h" 33 #include "platform/v8_inspector/protocol/InspectorProtocol.h"
34
34 #include <v8.h> 35 #include <v8.h>
35 36
36 namespace v8_inspector { 37 namespace v8_inspector {
37 38
38 namespace protocol = blink::protocol;
39
40 class V8DebuggerScript { 39 class V8DebuggerScript {
41 PROTOCOL_DISALLOW_COPY(V8DebuggerScript); 40 PROTOCOL_DISALLOW_COPY(V8DebuggerScript);
42 public: 41 public:
43 V8DebuggerScript(v8::Isolate*, v8::Local<v8::Object>, bool isLiveEdit); 42 V8DebuggerScript(v8::Isolate*, v8::Local<v8::Object>, bool isLiveEdit);
44 ~V8DebuggerScript(); 43 ~V8DebuggerScript();
45 44
46 const String16& scriptId() const { return m_id; } 45 const String16& scriptId() const { return m_id; }
47 const String16& url() const { return m_url; } 46 const String16& url() const { return m_url; }
48 bool hasSourceURL() const { return !m_sourceURL.isEmpty(); } 47 bool hasSourceURL() const { return !m_sourceURL.isEmpty(); }
49 const String16& sourceURL() const; 48 const String16& sourceURL() const;
(...skipping 25 matching lines...) Expand all
75 int m_endColumn; 74 int m_endColumn;
76 int m_executionContextId; 75 int m_executionContextId;
77 String16 m_executionContextAuxData; 76 String16 m_executionContextAuxData;
78 bool m_isLiveEdit; 77 bool m_isLiveEdit;
79 }; 78 };
80 79
81 } // namespace v8_inspector 80 } // namespace v8_inspector
82 81
83 82
84 #endif // V8DebuggerScript_h 83 #endif // V8DebuggerScript_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698