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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.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 // 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/inspector_protocol/InspectorProtocol.h"
9 9
10 namespace blink { 10 namespace v8_inspector {
11 11
12 namespace protocol { 12 namespace protocol = blink::protocol;
13 class DictionaryValue;
14 }
15 13
16 class RemoteObjectIdBase { 14 class RemoteObjectIdBase {
17 public: 15 public:
18 int contextId() const { return m_injectedScriptId; } 16 int contextId() const { return m_injectedScriptId; }
19 17
20 protected: 18 protected:
21 RemoteObjectIdBase(); 19 RemoteObjectIdBase();
22 ~RemoteObjectIdBase() { } 20 ~RemoteObjectIdBase() { }
23 21
24 std::unique_ptr<protocol::DictionaryValue> parseInjectedScriptId(const Strin g16&); 22 std::unique_ptr<protocol::DictionaryValue> parseInjectedScriptId(const Strin g16&);
(...skipping 20 matching lines...) Expand all
45 43
46 int frameOrdinal() const { return m_frameOrdinal; } 44 int frameOrdinal() const { return m_frameOrdinal; }
47 45
48 static String16 serialize(int injectedScriptId, int frameOrdinal); 46 static String16 serialize(int injectedScriptId, int frameOrdinal);
49 private: 47 private:
50 RemoteCallFrameId(); 48 RemoteCallFrameId();
51 49
52 int m_frameOrdinal; 50 int m_frameOrdinal;
53 }; 51 };
54 52
55 } // namespace blink 53 } // namespace v8_inspector
56 54
57 #endif // !defined(RemoteObjectId_h) 55 #endif // !defined(RemoteObjectId_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698