OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 class URLRequestContext; | 11 class CookieMonster; |
12 } // namespace net | 12 } // namespace net |
13 | 13 |
14 namespace android_webview { | 14 namespace android_webview { |
15 class AwURLRequestJobFactory; | 15 class AwURLRequestJobFactory; |
16 | 16 |
17 void SetCookieMonsterOnNetworkStackInit(net::URLRequestContext* context); | 17 void SetCookieMonsterOnNetworkStackInit(net::CookieMonster* cookie_monster); |
18 | 18 |
19 bool RegisterCookieManager(JNIEnv* env); | 19 bool RegisterCookieManager(JNIEnv* env); |
20 | 20 |
21 } // namespace android_webview | 21 } // namespace android_webview |
22 | 22 |
23 #endif // ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ | 23 #endif // ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ |
OLD | NEW |