| OLD | NEW |
| 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 #include "content/common/service_worker/service_worker_type_converters.h" | 5 #include "content/renderer/service_worker/service_worker_type_converters.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace mojo { | 9 namespace mojo { |
| 10 | 10 |
| 11 // TODO(iclelland): Make these enums equivalent so that conversion can be a | 11 // TODO(iclelland): Make these enums equivalent so that conversion can be a |
| 12 // static cast. | 12 // static cast. |
| 13 content::ServiceWorkerStatusCode | 13 content::ServiceWorkerStatusCode |
| 14 TypeConverter<content::ServiceWorkerStatusCode, | 14 TypeConverter<content::ServiceWorkerStatusCode, |
| 15 blink::mojom::ServiceWorkerEventStatus>:: | 15 blink::mojom::ServiceWorkerEventStatus>:: |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 input->additional_display_items[i]); | 120 input->additional_display_items[i]); |
| 121 } | 121 } |
| 122 | 122 |
| 123 output.stringifiedData = | 123 output.stringifiedData = |
| 124 blink::WebString::fromUTF8(input->method_data->stringified_data); | 124 blink::WebString::fromUTF8(input->method_data->stringified_data); |
| 125 | 125 |
| 126 return output; | 126 return output; |
| 127 } | 127 } |
| 128 | 128 |
| 129 } // namespace | 129 } // namespace |
| OLD | NEW |