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 "{{config.protocol.package}}/{{domain.domain}}.h" | 7 #include "{{config.protocol.package}}/{{domain.domain}}.h" |
8 | 8 |
9 #include "{{config.protocol.package}}/Protocol.h" | 9 #include "{{config.protocol.package}}/Protocol.h" |
10 | 10 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // static | 350 // static |
351 void Dispatcher::wire(UberDispatcher* dispatcher, Backend* backend) | 351 void Dispatcher::wire(UberDispatcher* dispatcher, Backend* backend) |
352 { | 352 { |
353 dispatcher->registerBackend("{{domain.domain}}", wrapUnique(new DispatcherIm
pl(dispatcher->channel(), backend))); | 353 dispatcher->registerBackend("{{domain.domain}}", wrapUnique(new DispatcherIm
pl(dispatcher->channel(), backend))); |
354 } | 354 } |
355 | 355 |
356 } // {{domain.domain}} | 356 } // {{domain.domain}} |
357 {% for namespace in config.protocol.namespace %} | 357 {% for namespace in config.protocol.namespace %} |
358 } // namespace {{namespace}} | 358 } // namespace {{namespace}} |
359 {% endfor %} | 359 {% endfor %} |
OLD | NEW |