OLD | NEW |
1 // This file is generated | 1 // This file is generated |
2 | 2 |
3 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 3 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
4 // Use of this source code is governed by a BSD-style license that can be | 4 // Use of this source code is governed by a BSD-style license that can be |
5 // found in the LICENSE file. | 5 // found in the LICENSE file. |
6 | 6 |
7 #ifndef {{class_name}}_h | 7 #ifndef {{class_name}}_h |
8 #define {{class_name}}_h | 8 #define {{class_name}}_h |
9 | 9 |
10 #include "platform/inspector_protocol/Backend.h" | |
11 #include "platform/inspector_protocol/TypeBuilder.h" | 10 #include "platform/inspector_protocol/TypeBuilder.h" |
12 | 11 |
13 namespace blink { | 12 namespace blink { |
14 namespace protocol { | 13 namespace protocol { |
15 | 14 |
16 class FrontendChannel; | 15 class FrontendChannel; |
17 class DispatcherImplWeakPtr; | 16 class DispatcherImplWeakPtr; |
18 | 17 |
19 class PLATFORM_EXPORT Dispatcher { | 18 class PLATFORM_EXPORT Dispatcher { |
20 public: | 19 public: |
(...skipping 19 matching lines...) Expand all Loading... |
40 void reportProtocolError(int callId, CommonErrorCode, const String16& errorM
essage) const; | 39 void reportProtocolError(int callId, CommonErrorCode, const String16& errorM
essage) const; |
41 virtual void reportProtocolError(int callId, CommonErrorCode, const String16
& errorMessage, ErrorSupport*) const = 0; | 40 virtual void reportProtocolError(int callId, CommonErrorCode, const String16
& errorMessage, ErrorSupport*) const = 0; |
42 virtual void dispatch(const String16& message) = 0; | 41 virtual void dispatch(const String16& message) = 0; |
43 static bool getCommandName(const String16& message, String16* result); | 42 static bool getCommandName(const String16& message, String16* result); |
44 }; | 43 }; |
45 | 44 |
46 } // namespace protocol | 45 } // namespace protocol |
47 } // namespace blink | 46 } // namespace blink |
48 | 47 |
49 #endif // !defined({{class_name}}_h) | 48 #endif // !defined({{class_name}}_h) |
OLD | NEW |