| Index: content/browser/appcache/appcache_request.cc
|
| diff --git a/content/browser/appcache/appcache_request.cc b/content/browser/appcache/appcache_request.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8080f8a4388cb88cf586cf944c6ab4fbe6c904ad
|
| --- /dev/null
|
| +++ b/content/browser/appcache/appcache_request.cc
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2017 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.
|
| +
|
| +#include "content/browser/appcache/appcache_request.h"
|
| +#include "content/common/appcache_interfaces.h"
|
| +#include "net/url_request/url_request.h"
|
| +
|
| +namespace content {
|
| +
|
| +// static
|
| +bool AppCacheRequest::IsSchemeAndMethodSupportedForAppCache(
|
| + const AppCacheRequest* request) {
|
| + return IsSchemeSupportedForAppCache(request->GetURL()) &&
|
| + IsMethodSupportedForAppCache(request->GetMethod());
|
| +}
|
| +
|
| +} // namespace content
|
|
|