| Index: third_party/inspector_protocol/lib/DispatcherBase_h.template
|
| diff --git a/third_party/inspector_protocol/lib/DispatcherBase_h.template b/third_party/inspector_protocol/lib/DispatcherBase_h.template
|
| index 3a6069b6494b43955f0b3753150101a8020ef7f9..5404281dc6f0d3938362913ceb650bba8fb4a0fc 100644
|
| --- a/third_party/inspector_protocol/lib/DispatcherBase_h.template
|
| +++ b/third_party/inspector_protocol/lib/DispatcherBase_h.template
|
| @@ -113,7 +113,8 @@ class {{config.lib.export_macro}} UberDispatcher {
|
| public:
|
| explicit UberDispatcher(FrontendChannel*);
|
| void registerBackend(const String& name, std::unique_ptr<protocol::DispatcherBase>);
|
| - DispatchResponse::Status dispatch(std::unique_ptr<Value> message);
|
| + void setupRedirects(const HashMap<String, String>&);
|
| + DispatchResponse::Status dispatch(std::unique_ptr<Value> message, int* callId = nullptr, String* method = nullptr);
|
| FrontendChannel* channel() { return m_frontendChannel; }
|
| bool fallThroughForNotFound() { return m_fallThroughForNotFound; }
|
| void setFallThroughForNotFound(bool);
|
| @@ -122,6 +123,7 @@ public:
|
| private:
|
| FrontendChannel* m_frontendChannel;
|
| bool m_fallThroughForNotFound;
|
| + HashMap<String, String> m_redirects;
|
| protocol::HashMap<String, std::unique_ptr<protocol::DispatcherBase>> m_dispatchers;
|
| };
|
|
|
|
|