[Telemetry] Always uploading browser log if enabled instead of wait for crash to...
[chromium-blink-merge.git] / components / html_viewer / blink_url_request_type_converters.h
blob7812a7c4a8354880ccc4cbd24a3a9a1f7a4b1b4e
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.
5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_URL_REQUEST_TYPE_CONVERTERS_H_
6 #define COMPONENTS_HTML_VIEWER_BLINK_URL_REQUEST_TYPE_CONVERTERS_H_
8 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
10 namespace blink {
11 class WebURLRequest;
14 namespace mojo {
16 template <>
17 struct TypeConverter<URLRequestPtr, blink::WebURLRequest> {
18 static URLRequestPtr Convert(const blink::WebURLRequest& request);
21 } // namespace mojo
23 #endif // COMPONENTS_HTML_VIEWER_BLINK_URL_REQUEST_TYPE_CONVERTERS_H_