OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 RemoteObjectId_h | 5 #ifndef RemoteObjectId_h |
6 #define RemoteObjectId_h | 6 #define RemoteObjectId_h |
7 | 7 |
8 #include "platform/inspector_protocol/ErrorSupport.h" | 8 #include "platform/inspector_protocol/InspectorProtocol.h" |
9 #include "platform/inspector_protocol/Platform.h" | |
10 #include "platform/inspector_protocol/String16.h" | |
11 | 9 |
12 namespace blink { | 10 namespace blink { |
13 | 11 |
14 namespace protocol { | 12 namespace protocol { |
15 class DictionaryValue; | 13 class DictionaryValue; |
16 } | 14 } |
17 | 15 |
18 class RemoteObjectIdBase { | 16 class RemoteObjectIdBase { |
19 public: | 17 public: |
20 int contextId() const { return m_injectedScriptId; } | 18 int contextId() const { return m_injectedScriptId; } |
(...skipping 29 matching lines...) Expand all Loading... |
50 static String16 serialize(int injectedScriptId, int frameOrdinal); | 48 static String16 serialize(int injectedScriptId, int frameOrdinal); |
51 private: | 49 private: |
52 RemoteCallFrameId(); | 50 RemoteCallFrameId(); |
53 | 51 |
54 int m_frameOrdinal; | 52 int m_frameOrdinal; |
55 }; | 53 }; |
56 | 54 |
57 } // namespace blink | 55 } // namespace blink |
58 | 56 |
59 #endif // !defined(RemoteObjectId_h) | 57 #endif // !defined(RemoteObjectId_h) |
OLD | NEW |