OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_TEST_EMBEDDED_TEST_SERVER_ANDROID_EMBEDDED_TEST_SERVER_ANDROID_H_ | 5 #ifndef NET_TEST_EMBEDDED_TEST_SERVER_ANDROID_EMBEDDED_TEST_SERVER_ANDROID_H_ |
6 #define NET_TEST_EMBEDDED_TEST_SERVER_ANDROID_EMBEDDED_TEST_SERVER_ANDROID_H_ | 6 #define NET_TEST_EMBEDDED_TEST_SERVER_ANDROID_EMBEDDED_TEST_SERVER_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/jni_weak_ref.h" | 10 #include "base/android/jni_weak_ref.h" |
11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
| 12 #include "base/macros.h" |
12 #include "net/test/embedded_test_server/embedded_test_server.h" | 13 #include "net/test/embedded_test_server/embedded_test_server.h" |
13 #include "net/test/embedded_test_server/http_request.h" | 14 #include "net/test/embedded_test_server/http_request.h" |
14 #include "net/test/embedded_test_server/http_response.h" | 15 #include "net/test/embedded_test_server/http_response.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 namespace test_server { | 18 namespace test_server { |
18 | 19 |
19 // The C++ side of the Java EmbeddedTestServer. | 20 // The C++ side of the Java EmbeddedTestServer. |
20 class EmbeddedTestServerAndroid { | 21 class EmbeddedTestServerAndroid { |
21 public: | 22 public: |
(...skipping 25 matching lines...) Expand all Loading... |
47 | 48 |
48 EmbeddedTestServer test_server_; | 49 EmbeddedTestServer test_server_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(EmbeddedTestServerAndroid); | 51 DISALLOW_COPY_AND_ASSIGN(EmbeddedTestServerAndroid); |
51 }; | 52 }; |
52 | 53 |
53 } // namespace test_server | 54 } // namespace test_server |
54 } // namespace net | 55 } // namespace net |
55 | 56 |
56 #endif // NET_TEST_EMBEDDED_TEST_SERVER_ANDROID_EMBEDDED_TEST_SERVER_ANDROID_H_ | 57 #endif // NET_TEST_EMBEDDED_TEST_SERVER_ANDROID_EMBEDDED_TEST_SERVER_ANDROID_H_ |
OLD | NEW |