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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.h

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win compile Created 4 years, 3 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/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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698