OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 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 CHROME_BROWSER_ANDROID_ANDROID_PROTOCOL_ADAPTER_H_ | |
6 #define CHROME_BROWSER_ANDROID_ANDROID_PROTOCOL_ADAPTER_H_ | |
7 | |
8 #include "base/android/scoped_java_ref.h" | |
Nico
2012/07/31 14:07:13
Not needed either (?)
felipeg
2012/07/31 14:54:36
was for JNIEnv
forward declared.
| |
9 #include "net/url_request/url_request.h" | |
10 | |
11 class AndroidProtocolAdapter { | |
12 public: | |
13 static net::URLRequest::ProtocolFactory Factory; | |
14 | |
15 // Register the protocol factories for all supported Android protocol | |
16 // schemes. | |
17 static bool RegisterProtocols(JNIEnv* env); | |
18 | |
19 private: | |
20 DISALLOW_IMPLICIT_CONSTRUCTORS(AndroidProtocolAdapter); | |
21 }; | |
22 | |
23 #endif // CHROME_BROWSER_ANDROID_ANDROID_PROTOCOL_ADAPTER_H_ | |
OLD | NEW |