| 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 #include "platform/inspector_protocol/{{class_name}}.h" | 7 #include "platform/inspector_protocol/{{class_name}}.h" |
| 8 | 8 |
| 9 #include "wtf/text/WTFString.h" | 9 #include "platform/inspector_protocol/String16.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 namespace protocol { | 12 namespace protocol { |
| 13 | 13 |
| 14 Frontend::Frontend(FrontendChannel* frontendChannel) | 14 Frontend::Frontend(FrontendChannel* frontendChannel) |
| 15 : m_frontendChannel(frontendChannel) | 15 : m_frontendChannel(frontendChannel) |
| 16 {% for domain in api.domains %} | 16 {% for domain in api.domains %} |
| 17 , m_{{domain.domain | lower}}(frontendChannel) | 17 , m_{{domain.domain | lower}}(frontendChannel) |
| 18 {% endfor %} | 18 {% endfor %} |
| 19 { | 19 { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 44 {% endfor %} | 44 {% endfor %} |
| 45 jsonMessage->setObject("params", paramsObject.release()); | 45 jsonMessage->setObject("params", paramsObject.release()); |
| 46 if (m_frontendChannel) | 46 if (m_frontendChannel) |
| 47 m_frontendChannel->sendProtocolNotification(jsonMessage.release()); | 47 m_frontendChannel->sendProtocolNotification(jsonMessage.release()); |
| 48 } | 48 } |
| 49 {% endfor %} | 49 {% endfor %} |
| 50 {% endfor %} | 50 {% endfor %} |
| 51 | 51 |
| 52 } // namespace protocol | 52 } // namespace protocol |
| 53 } // namespace blink | 53 } // namespace blink |
| OLD | NEW |