Upstream version 9.38.198.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 class TypeConverter<URLRequestPtr, blink::WebURLRequest> {
18  public:
19   static URLRequestPtr ConvertFrom(const blink::WebURLRequest& request);
20 };
21
22 }  // namespace mojo
23
24 #endif  // MOJO_SERVICES_HTML_VIEWER_BLINK_URL_REQUEST_TYPE_CONVERTERS_H_