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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/InspectedContext.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InspectedContext_h 5 #ifndef InspectedContext_h
6 #define InspectedContext_h 6 #define InspectedContext_h
7 7
8 #include "platform/inspector_protocol/InspectorProtocol.h" 8 #include "platform/v8_inspector/protocol/InspectorProtocol.h"
9
9 #include <v8.h> 10 #include <v8.h>
10 11
11 namespace v8_inspector { 12 namespace v8_inspector {
12 13
13 class InjectedScript; 14 class InjectedScript;
14 class InjectedScriptHost; 15 class InjectedScriptHost;
15 class V8ContextInfo; 16 class V8ContextInfo;
16 class V8InspectorImpl; 17 class V8InspectorImpl;
17 18
18 namespace protocol = blink::protocol;
19
20 class InspectedContext { 19 class InspectedContext {
21 PROTOCOL_DISALLOW_COPY(InspectedContext); 20 PROTOCOL_DISALLOW_COPY(InspectedContext);
22 public: 21 public:
23 ~InspectedContext(); 22 ~InspectedContext();
24 23
25 v8::Local<v8::Context> context() const; 24 v8::Local<v8::Context> context() const;
26 int contextId() const { return m_contextId; } 25 int contextId() const { return m_contextId; }
27 int contextGroupId() const { return m_contextGroupId; } 26 int contextGroupId() const { return m_contextGroupId; }
28 String16 origin() const { return m_origin; } 27 String16 origin() const { return m_origin; }
29 String16 humanReadableName() const { return m_humanReadableName; } 28 String16 humanReadableName() const { return m_humanReadableName; }
(...skipping 23 matching lines...) Expand all
53 const String16 m_humanReadableName; 52 const String16 m_humanReadableName;
54 const String16 m_auxData; 53 const String16 m_auxData;
55 bool m_reported; 54 bool m_reported;
56 std::unique_ptr<InjectedScript> m_injectedScript; 55 std::unique_ptr<InjectedScript> m_injectedScript;
57 v8::Global<v8::Object> m_console; 56 v8::Global<v8::Object> m_console;
58 }; 57 };
59 58
60 } // namespace v8_inspector 59 } // namespace v8_inspector
61 60
62 #endif 61 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698