1// Copyright 2014 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 MOJO_SERVICES_HTML_VIEWER_BLINK_URL_REQUEST_TYPE_CONVERTERS_H_ 6#define MOJO_SERVICES_HTML_VIEWER_BLINK_URL_REQUEST_TYPE_CONVERTERS_H_ 7 8#include "mojo/services/public/interfaces/network/url_loader.mojom.h" 9 10namespace blink { 11class WebURLRequest; 12} 13 14namespace mojo { 15 16template <> 17struct TypeConverter<URLRequestPtr, blink::WebURLRequest> { 18 static URLRequestPtr Convert(const blink::WebURLRequest& request); 19}; 20 21} // namespace mojo 22 23#endif // MOJO_SERVICES_HTML_VIEWER_BLINK_URL_REQUEST_TYPE_CONVERTERS_H_ 24