Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: android_webview/embeddedtestserver/custom_handlers.h

Issue 2687573002: [Android Webview] Refactor LoadUrlTest and work on embedded_test_server custom handler (Closed)
Patch Set: discussing patch Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698