| 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/InspectorProtocol.h" | 8 #include "platform/v8_inspector/protocol/Forward.h" |
| 9 | 9 |
| 10 namespace v8_inspector { | 10 namespace v8_inspector { |
| 11 | 11 |
| 12 namespace protocol = blink::protocol; | 12 using protocol::ErrorString; |
| 13 | 13 |
| 14 class RemoteObjectIdBase { | 14 class RemoteObjectIdBase { |
| 15 public: | 15 public: |
| 16 int contextId() const { return m_injectedScriptId; } | 16 int contextId() const { return m_injectedScriptId; } |
| 17 | 17 |
| 18 protected: | 18 protected: |
| 19 RemoteObjectIdBase(); | 19 RemoteObjectIdBase(); |
| 20 ~RemoteObjectIdBase() { } | 20 ~RemoteObjectIdBase() { } |
| 21 | 21 |
| 22 std::unique_ptr<protocol::DictionaryValue> parseInjectedScriptId(const Strin
g16&); | 22 std::unique_ptr<protocol::DictionaryValue> parseInjectedScriptId(const Strin
g16&); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 46 static String16 serialize(int injectedScriptId, int frameOrdinal); | 46 static String16 serialize(int injectedScriptId, int frameOrdinal); |
| 47 private: | 47 private: |
| 48 RemoteCallFrameId(); | 48 RemoteCallFrameId(); |
| 49 | 49 |
| 50 int m_frameOrdinal; | 50 int m_frameOrdinal; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace v8_inspector | 53 } // namespace v8_inspector |
| 54 | 54 |
| 55 #endif // !defined(RemoteObjectId_h) | 55 #endif // !defined(RemoteObjectId_h) |
| OLD | NEW |