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

Unified Diff: content/common/navigator_connect_types.cc

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_types.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigator_connect_types.cc
diff --git a/content/common/navigator_connect_types.cc b/content/common/navigator_connect_types.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c0e5e6e43ce4d7497df9787c82cf037b21617535
--- /dev/null
+++ b/content/common/navigator_connect_types.cc
@@ -0,0 +1,23 @@
+// 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.
+
+#include "content/common/navigator_connect_types.h"
+
+namespace content {
+
+CrossOriginServiceWorkerClient::CrossOriginServiceWorkerClient()
+ : message_port_id(-1) {
+}
+
+CrossOriginServiceWorkerClient::CrossOriginServiceWorkerClient(
+ const GURL& target_url,
+ const GURL& origin,
+ int message_port_id)
+ : target_url(target_url), origin(origin), message_port_id(message_port_id) {
+}
+
+CrossOriginServiceWorkerClient::~CrossOriginServiceWorkerClient() {
+}
+
+} // namespace content
« no previous file with comments | « content/common/navigator_connect_types.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698