| 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/String16.h" | 8 #include "platform/inspector_protocol/String16.h" |
| 9 #include "platform/inspector_protocol/TypeBuilder.h" | 9 #include "platform/inspector_protocol/TypeBuilder.h" |
| 10 #include "wtf/PassOwnPtr.h" | 10 #include "wtf/PassOwnPtr.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 int m_id; | 40 int m_id; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 class RemoteCallFrameId final : public RemoteObjectIdBase { | 43 class RemoteCallFrameId final : public RemoteObjectIdBase { |
| 44 public: | 44 public: |
| 45 static PassOwnPtr<RemoteCallFrameId> parse(ErrorString*, const String16&); | 45 static PassOwnPtr<RemoteCallFrameId> parse(ErrorString*, const String16&); |
| 46 ~RemoteCallFrameId() { } | 46 ~RemoteCallFrameId() { } |
| 47 | 47 |
| 48 int frameOrdinal() const { return m_frameOrdinal; } | 48 int frameOrdinal() const { return m_frameOrdinal; } |
| 49 | 49 |
| 50 static String16 serialize(int injectedScriptId, int frameOrdinal); |
| 50 private: | 51 private: |
| 51 RemoteCallFrameId(); | 52 RemoteCallFrameId(); |
| 52 | 53 |
| 53 int m_frameOrdinal; | 54 int m_frameOrdinal; |
| 54 }; | 55 }; |
| 55 | 56 |
| 56 } // namespace blink | 57 } // namespace blink |
| 57 | 58 |
| 58 #endif // !defined(RemoteObjectId_h) | 59 #endif // !defined(RemoteObjectId_h) |
| OLD | NEW |