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

Side by Side Diff: content/renderer/service_worker/service_worker_type_converters.h

Issue 2678273011: Move service_worker_type_converters to content/renderer to avoid WebString() usage in browser (Closed)
Patch Set: move _type_converter security OWNERS entry to renderer/ too Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_
6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_
7 7
8 #include "components/payments/payment_app.mojom.h" 8 #include "components/payments/payment_app.mojom.h"
9 #include "content/common/service_worker/service_worker_status_code.h" 9 #include "content/common/service_worker/service_worker_status_code.h"
10 #include "third_party/WebKit/public/platform/modules/payments/WebPaymentAppReque st.h" 10 #include "third_party/WebKit/public/platform/modules/payments/WebPaymentAppReque st.h"
11 #include "third_party/WebKit/public/platform/modules/serviceworker/service_worke r_event_status.mojom.h" 11 #include "third_party/WebKit/public/platform/modules/serviceworker/service_worke r_event_status.mojom.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 14
15 template <> 15 template <>
16 struct CONTENT_EXPORT TypeConverter<content::ServiceWorkerStatusCode, 16 struct CONTENT_EXPORT TypeConverter<content::ServiceWorkerStatusCode,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 template <> 49 template <>
50 struct TypeConverter<blink::WebPaymentDetailsModifier, 50 struct TypeConverter<blink::WebPaymentDetailsModifier,
51 payments::mojom::PaymentDetailsModifierPtr> { 51 payments::mojom::PaymentDetailsModifierPtr> {
52 static blink::WebPaymentDetailsModifier Convert( 52 static blink::WebPaymentDetailsModifier Convert(
53 const payments::mojom::PaymentDetailsModifierPtr& input); 53 const payments::mojom::PaymentDetailsModifierPtr& input);
54 }; 54 };
55 55
56 } // namespace 56 } // namespace
57 57
58 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_ 58 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_TYPE_CONVERTERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698