Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / mojo / services / html_viewer / blink_url_request_type_converters.h
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
10 namespace blink {
11 class WebURLRequest;
12 }
13
14 namespace mojo {
15
16 template <>
17 struct 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_