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

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

Issue 2246233002: [DevTools] Move platform/v8_inspector classes under v8_inspector namespace. (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 15 matching lines...) Expand all
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/inspector_protocol/InspectorProtocol.h"
34 #include <v8.h> 34 #include <v8.h>
35 35
36 namespace blink { 36 namespace v8_inspector {
37
38 namespace protocol = blink::protocol;
37 39
38 class V8DebuggerScript { 40 class V8DebuggerScript {
39 PROTOCOL_DISALLOW_COPY(V8DebuggerScript); 41 PROTOCOL_DISALLOW_COPY(V8DebuggerScript);
40 public: 42 public:
41 V8DebuggerScript(v8::Isolate*, v8::Local<v8::Object>, bool isLiveEdit); 43 V8DebuggerScript(v8::Isolate*, v8::Local<v8::Object>, bool isLiveEdit);
42 ~V8DebuggerScript(); 44 ~V8DebuggerScript();
43 45
44 const String16& scriptId() const { return m_id; } 46 const String16& scriptId() const { return m_id; }
45 const String16& url() const { return m_url; } 47 const String16& url() const { return m_url; }
46 bool hasSourceURL() const { return !m_sourceURL.isEmpty(); } 48 bool hasSourceURL() const { return !m_sourceURL.isEmpty(); }
(...skipping 22 matching lines...) Expand all
69 String16 m_hash; 71 String16 m_hash;
70 int m_startLine; 72 int m_startLine;
71 int m_startColumn; 73 int m_startColumn;
72 int m_endLine; 74 int m_endLine;
73 int m_endColumn; 75 int m_endColumn;
74 int m_executionContextId; 76 int m_executionContextId;
75 String16 m_executionContextAuxData; 77 String16 m_executionContextAuxData;
76 bool m_isLiveEdit; 78 bool m_isLiveEdit;
77 }; 79 };
78 80
79 } // namespace blink 81 } // namespace v8_inspector
80 82
81 83
82 #endif // V8DebuggerScript_h 84 #endif // V8DebuggerScript_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698