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

Side by Side Diff: content/common/navigator_connect_types.h

Issue 861373002: Refactor navigator.connect code to make it more flexible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 5 years, 11 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
« no previous file with comments | « content/common/navigator_connect_messages.h ('k') | content/common/navigator_connect_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/common/navigator_connect_messages.h ('k') | content/common/navigator_connect_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698