Home | History | Annotate | Download | only in native
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_
      6 #define ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_
      7 
      8 #include <jni.h>
      9 
     10 #include "base/memory/ref_counted.h"
     11 
     12 namespace net {
     13 class CookieStore;
     14 }  // namespace net
     15 
     16 namespace android_webview {
     17 class AwBrowserContext;
     18 class AwURLRequestJobFactory;
     19 
     20 scoped_refptr<net::CookieStore> CreateCookieStore(
     21     AwBrowserContext* browser_context);
     22 
     23 bool RegisterCookieManager(JNIEnv* env);
     24 
     25 }  // namespace android_webview
     26 
     27 #endif  // ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_
     28