| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ANDROID_WEBVIEW_EMBEDDEDTESTSERVER_CUSTOM_HANDLERS_H_ |
| 6 #define ANDROID_WEBVIEW_EMBEDDEDTESTSERVER_CUSTOM_HANDLERS_H_ |
| 7 |
| 8 #include <stdlib.h> |
| 9 #include <sstream> |
| 10 #include <string> |
| 11 #include <utility> |
| 12 |
| 13 #include "base/android/scoped_java_ref.h" |
| 14 #include "base/base64.h" |
| 15 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 16 #include "net/test/embedded_test_server/http_request.h" |
| 17 #include "net/test/embedded_test_server/http_response.h" |
| 18 |
| 19 namespace net { |
| 20 namespace test_server { |
| 21 |
| 22 std::unique_ptr<HttpResponse> HandleClickRedirect(const HttpRequest& request); |
| 23 |
| 24 std::vector<jlong> getHandlers(); |
| 25 |
| 26 } // namespace test_server |
| 27 } // namespace net |
| 28 |
| 29 #endif // ANDROID_WEBVIEW_EMBEDDEDTESTSERVER_CUSTOM_HANDLERS_H_ |
| OLD | NEW |