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

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: win compile Created 4 years, 3 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/Allocator.h"
34 #include "platform/v8_inspector/String16.h"
35
34 #include <v8.h> 36 #include <v8.h>
35 37
36 namespace v8_inspector { 38 namespace v8_inspector {
37 39
38 namespace protocol = blink::protocol;
39
40 class V8DebuggerScript { 40 class V8DebuggerScript {
41 PROTOCOL_DISALLOW_COPY(V8DebuggerScript); 41 V8_INSPECTOR_DISALLOW_COPY(V8DebuggerScript);
42 public: 42 public:
43 V8DebuggerScript(v8::Isolate*, v8::Local<v8::Object>, bool isLiveEdit); 43 V8DebuggerScript(v8::Isolate*, v8::Local<v8::Object>, bool isLiveEdit);
44 ~V8DebuggerScript(); 44 ~V8DebuggerScript();
45 45
46 const String16& scriptId() const { return m_id; } 46 const String16& scriptId() const { return m_id; }
47 const String16& url() const { return m_url; } 47 const String16& url() const { return m_url; }
48 bool hasSourceURL() const { return !m_sourceURL.isEmpty(); } 48 bool hasSourceURL() const { return !m_sourceURL.isEmpty(); }
49 const String16& sourceURL() const; 49 const String16& sourceURL() const;
50 const String16& sourceMappingURL() const { return m_sourceMappingURL; } 50 const String16& sourceMappingURL() const { return m_sourceMappingURL; }
51 v8::Local<v8::String> source(v8::Isolate*) const; 51 v8::Local<v8::String> source(v8::Isolate*) const;
(...skipping 23 matching lines...) Expand all
75 int m_endColumn; 75 int m_endColumn;
76 int m_executionContextId; 76 int m_executionContextId;
77 String16 m_executionContextAuxData; 77 String16 m_executionContextAuxData;
78 bool m_isLiveEdit; 78 bool m_isLiveEdit;
79 }; 79 };
80 80
81 } // namespace v8_inspector 81 } // namespace v8_inspector
82 82
83 83
84 #endif // V8DebuggerScript_h 84 #endif // V8DebuggerScript_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698