Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1640)

Unified Diff: mojo/services/html_viewer/blink_url_request_type_converters.h

Issue 507173003: Change TypeConverter<X,Y>::ConvertFrom and ConvertTo into a single symmetric (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile for real Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/services/html_viewer/blink_url_request_type_converters.h
diff --git a/mojo/services/html_viewer/blink_url_request_type_converters.h b/mojo/services/html_viewer/blink_url_request_type_converters.h
index 21c34920fd19e76ac78f6fb49cc39f495cf01893..583d0bab67b63d98ff90eb8dc84c2f66ae78714f 100644
--- a/mojo/services/html_viewer/blink_url_request_type_converters.h
+++ b/mojo/services/html_viewer/blink_url_request_type_converters.h
@@ -13,10 +13,9 @@ class WebURLRequest;
namespace mojo {
-template<>
-class TypeConverter<URLRequestPtr, blink::WebURLRequest> {
- public:
- static URLRequestPtr ConvertFrom(const blink::WebURLRequest& request);
+template <>
+struct TypeConverter<URLRequestPtr, blink::WebURLRequest> {
+ static URLRequestPtr Convert(const blink::WebURLRequest& request);
};
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698