| Index: android_webview/common/aw_utils.h
|
| diff --git a/android_webview/common/aw_utils.h b/android_webview/common/aw_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cd5ab4b579880052df243c0da27c9e13d44dc979
|
| --- /dev/null
|
| +++ b/android_webview/common/aw_utils.h
|
| @@ -0,0 +1,19 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef ANDROID_WEBVIEW_COMMON_AW_UTILS_H_
|
| +#define ANDROID_WEBVIEW_COMMON_AW_UTILS_H_
|
| +
|
| +class GURL;
|
| +
|
| +namespace android_webview {
|
| +
|
| +// Check if scheme of url is in a whitelist of local schemes that are allowed
|
| +// when network loads are blocked. Used in BlockNetworkImage and
|
| +// BlockNetworkLoads.
|
| +bool isLocalScheme(const GURL& url);
|
| +
|
| +} // namespace android_webview
|
| +
|
| +#endif // ANDROID_WEBVIEW_COMMON_AW_UTILS_H_
|
|
|