Index: tools/skiaserve/urlhandlers/UrlHandler.h |
diff --git a/tools/skiaserve/urlhandlers/UrlHandler.h b/tools/skiaserve/urlhandlers/UrlHandler.h |
index 28d378aaf98355a47f98d4f18967ef793f67ff55..3fe269a57f6b84f4e2af9db0e5aa3384983b078f 100644 |
--- a/tools/skiaserve/urlhandlers/UrlHandler.h |
+++ b/tools/skiaserve/urlhandlers/UrlHandler.h |
@@ -112,6 +112,17 @@ public: |
const char* upload_data, size_t* upload_data_size) override; |
}; |
+/* |
+ * Enables drawing of batch bounds |
+ */ |
+class BatchBoundsHandler : public UrlHandler { |
+public: |
+ bool canHandle(const char* method, const char* url) override; |
+ int handle(Request* request, MHD_Connection* connection, |
+ const char* url, const char* method, |
+ const char* upload_data, size_t* upload_data_size) override; |
+}; |
+ |
class RootHandler : public UrlHandler { |
public: |
bool canHandle(const char* method, const char* url) override; |