| 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/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/values.h" | 11 #include "base/values.h" |
| 11 | 12 |
| 12 namespace content { | 13 namespace content { |
| 13 | 14 |
| 14 struct DevToolsCommandId { | 15 struct DevToolsCommandId { |
| 15 static const int kNoId; | 16 static const int kNoId; |
| 16 | 17 |
| 17 DevToolsCommandId(int call_id, int session_id) | 18 DevToolsCommandId(int call_id, int session_id) |
| 18 : call_id(call_id), session_id(session_id) {} | 19 : call_id(call_id), session_id(session_id) {} |
| 19 | 20 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 private: | 72 private: |
| 72 friend class DevToolsProtocolDispatcher; | 73 friend class DevToolsProtocolDispatcher; |
| 73 | 74 |
| 74 DevToolsProtocolDelegate* notifier_; | 75 DevToolsProtocolDelegate* notifier_; |
| 75 DISALLOW_COPY_AND_ASSIGN(DevToolsProtocolClient); | 76 DISALLOW_COPY_AND_ASSIGN(DevToolsProtocolClient); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 } // namespace content | 79 } // namespace content |
| 79 | 80 |
| 80 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_CLIENT_H_ | 81 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_CLIENT_H_ |
| OLD | NEW |