OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_CLIENT_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_CLIENT_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_CLIENT_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/values.h" | 10 #include "base/values.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 struct DevToolsCommandId { | 14 struct DevToolsCommandId { |
14 static const int kNoId; | 15 static const int kNoId; |
15 | 16 |
16 DevToolsCommandId(int call_id, int session_id) | 17 DevToolsCommandId(int call_id, int session_id) |
17 : call_id(call_id), session_id(session_id) {} | 18 : call_id(call_id), session_id(session_id) {} |
18 | 19 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 private: | 71 private: |
71 friend class DevToolsProtocolDispatcher; | 72 friend class DevToolsProtocolDispatcher; |
72 | 73 |
73 DevToolsProtocolDelegate* notifier_; | 74 DevToolsProtocolDelegate* notifier_; |
74 DISALLOW_COPY_AND_ASSIGN(DevToolsProtocolClient); | 75 DISALLOW_COPY_AND_ASSIGN(DevToolsProtocolClient); |
75 }; | 76 }; |
76 | 77 |
77 } // namespace content | 78 } // namespace content |
78 | 79 |
79 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_CLIENT_H_ | 80 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_CLIENT_H_ |
OLD | NEW |