OLD | NEW |
| (Empty) |
1 // Copyright 2014 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 COMPONENTS_DEVTOOLS_BRIDGE_TEST_ANDROID_CLIENT_WEB_CLIENT_ANDROID_H_ | |
6 #define COMPONENTS_DEVTOOLS_BRIDGE_TEST_ANDROID_CLIENT_WEB_CLIENT_ANDROID_H_ | |
7 | |
8 #include <jni.h> | |
9 | |
10 #include "components/devtools_bridge/client/web_client.h" | |
11 | |
12 class Profile; | |
13 | |
14 namespace devtools_bridge { | |
15 namespace android { | |
16 | |
17 /** | |
18 * Android wrapper over WebClient for Java tests. See WebClientTest.java. | |
19 */ | |
20 class WebClientAndroid : private WebClient::Delegate { | |
21 public: | |
22 static bool RegisterNatives(JNIEnv* env); | |
23 | |
24 WebClientAndroid(Profile* profile); | |
25 ~WebClientAndroid(); | |
26 | |
27 private: | |
28 scoped_ptr<WebClient> impl_; | |
29 }; | |
30 | |
31 } // namespace android | |
32 } // namespace devtools_bridge | |
33 | |
34 #endif // COMPONENTS_DEVTOOLS_BRIDGE_TEST_ANDROID_CLIENT_WEB_CLIENT_ANDROID_H_ | |
OLD | NEW |