summaryrefslogtreecommitdiffstats
path: root/content/child/web_url_request_util.h
blob: 0238ff09c4659779fe5ba6a6213be3ec51e6482b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2014 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 CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_
#define CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_

#include "content/common/content_export.h"
#include "content/public/common/resource_type.h"

namespace blink {
class WebURLRequest;
}

namespace content {

CONTENT_EXPORT ResourceType WebURLRequestToResourceType(
    const blink::WebURLRequest& request);

}  // namespace content

#endif  // CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_