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

Side by Side Diff: android_webview/native/cookie_manager.h

Issue 12387028: Fix for CookieManager init race condition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added a comment Created 7 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 | Annotate | Revision Log
OLDNEW
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_
OLDNEW
« no previous file with comments | « android_webview/browser/net/init_native_callback.h ('k') | android_webview/native/cookie_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698