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

Unified Diff: content/common/navigator_connect_types.h

Issue 781723002: Pass navigator.connect calls through to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigator_connect_types.h
diff --git a/content/common/navigator_connect_types.h b/content/common/navigator_connect_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..fe6ad82a7e29d4589758b94016f3633fdaf76e17
--- /dev/null
+++ b/content/common/navigator_connect_types.h
@@ -0,0 +1,29 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_NAVIGATOR_CONNECT_TYPES_H_
+#define CONTENT_COMMON_NAVIGATOR_CONNECT_TYPES_H_
+
+#include "url/gurl.h"
+
+// This file is to have common definitions that are to be shared by
+// browser and child process.
+
+namespace content {
+
+struct CrossOriginServiceWorkerClient {
+ CrossOriginServiceWorkerClient();
+ CrossOriginServiceWorkerClient(const GURL& target_url,
+ const GURL& origin,
+ int message_port_id);
+ ~CrossOriginServiceWorkerClient();
+
+ GURL target_url;
+ GURL origin;
+ int message_port_id;
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_NAVIGATOR_CONNECT_TYPES_H_
« 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