blob: b746d8067d26f35b64ac340d6fc33ece84ae3aaa [file] [log] [blame]
// 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 <string>
#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);
std::string GetWebURLRequestHeaders(const blink::WebURLRequest& request);
int GetLoadFlagsForWebURLRequest(const blink::WebURLRequest& request);
} // namespace content
#endif // CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_