Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / android_webview / browser / net / init_native_callback.h
blobd98867cff48dc8fd0d723dcf755352e5c030514b
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.
5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
6 #define ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_
8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h"
11 namespace net {
12 class CookieStore;
13 class URLRequestInterceptor;
14 } // namespace net
16 namespace android_webview {
17 class AwBrowserContext;
19 // Called when the CookieMonster needs to be created.
20 scoped_refptr<net::CookieStore> CreateCookieStore(
21 AwBrowserContext* browser_context);
23 // Called lazily when the job factory is being constructed.
24 scoped_ptr<net::URLRequestInterceptor>
25 CreateAndroidAssetFileRequestInterceptor();
27 // Called lazily when the job factory is being constructed.
28 scoped_ptr<net::URLRequestInterceptor>
29 CreateAndroidContentRequestInterceptor();
31 } // namespace android_webview
33 #endif // ANDROID_WEBVIEW_BROWSER_NET_INIT_NATIVE_CALLBACK_H_