| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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/navigator_connect_types.h" | 5 #include "content/public/common/navigator_connect_client.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 CrossOriginServiceWorkerClient::CrossOriginServiceWorkerClient() | 9 NavigatorConnectClient::NavigatorConnectClient() : message_port_id(-1) { |
| 10 : message_port_id(-1) { | |
| 11 } | 10 } |
| 12 | 11 |
| 13 CrossOriginServiceWorkerClient::CrossOriginServiceWorkerClient( | 12 NavigatorConnectClient::NavigatorConnectClient(const GURL& target_url, |
| 14 const GURL& target_url, | 13 const GURL& origin, |
| 15 const GURL& origin, | 14 int message_port_id) |
| 16 int message_port_id) | |
| 17 : target_url(target_url), origin(origin), message_port_id(message_port_id) { | 15 : target_url(target_url), origin(origin), message_port_id(message_port_id) { |
| 18 } | 16 } |
| 19 | 17 |
| 20 CrossOriginServiceWorkerClient::~CrossOriginServiceWorkerClient() { | 18 NavigatorConnectClient::~NavigatorConnectClient() { |
| 21 } | 19 } |
| 22 | 20 |
| 23 } // namespace content | 21 } // namespace content |
| OLD | NEW |