OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CONTENT_COMMON_NAVIGATOR_CONNECT_TYPES_H_ | |
6 #define CONTENT_COMMON_NAVIGATOR_CONNECT_TYPES_H_ | |
7 | |
8 #include "url/gurl.h" | |
9 | |
10 // This file is to have common definitions that are to be shared by | |
11 // browser and child process. | |
12 | |
13 namespace content { | |
14 | |
15 struct CrossOriginServiceWorkerClient { | |
16 CrossOriginServiceWorkerClient(); | |
17 CrossOriginServiceWorkerClient(const GURL& target_url, | |
18 const GURL& origin, | |
19 int message_port_id); | |
20 ~CrossOriginServiceWorkerClient(); | |
21 | |
22 GURL target_url; | |
23 GURL origin; | |
24 int message_port_id; | |
25 }; | |
26 | |
27 } // namespace content | |
28 | |
29 #endif // CONTENT_COMMON_NAVIGATOR_CONNECT_TYPES_H_ | |
OLD | NEW |