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 ANDROID_WEBVIEW_COMMON_AW_UTILS_H_ |
| 6 #define ANDROID_WEBVIEW_COMMON_AW_UTILS_H_ |
| 7 |
| 8 class GURL; |
| 9 |
| 10 namespace android_webview { |
| 11 |
| 12 // Check if scheme of url is in a whitelist of local schemes that are allowed |
| 13 // when network loads are blocked. Used in BlockNetworkImage and |
| 14 // BlockNetworkLoads. |
| 15 bool isLocalScheme(const GURL& url); |
| 16 |
| 17 } // namespace android_webview |
| 18 |
| 19 #endif // ANDROID_WEBVIEW_COMMON_AW_UTILS_H_ |
OLD | NEW |