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

Unified Diff: content/common/service_worker/service_worker_provider_host_info.cc

Issue 2638313002: Manage ServiceWorkerDispatcherHost in ServiceWorkerContextCore (Closed)
Patch Set: Rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/common/service_worker/service_worker_provider_host_info.cc
diff --git a/content/common/service_worker/service_worker_provider_host_info.cc b/content/common/service_worker/service_worker_provider_host_info.cc
new file mode 100644
index 0000000000000000000000000000000000000000..04a18876e27c825fc2f5ca98ea9b1c45f78666a3
--- /dev/null
+++ b/content/common/service_worker/service_worker_provider_host_info.cc
@@ -0,0 +1,30 @@
+// Copyright 2017 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/service_worker/service_worker_provider_host_info.h"
+
+namespace content {
+
+ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo() {}
+
+ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo(
+ ServiceWorkerProviderHostInfo&& other)
+ : provider_id(other.provider_id),
+ route_id(other.route_id),
+ type(other.type),
+ is_parent_frame_secure(other.is_parent_frame_secure) {}
+
+ServiceWorkerProviderHostInfo::ServiceWorkerProviderHostInfo(
+ int provider_id,
+ int route_id,
+ ServiceWorkerProviderType type,
+ bool is_parent_frame_secure)
+ : provider_id(provider_id),
+ route_id(route_id),
+ type(type),
+ is_parent_frame_secure(is_parent_frame_secure) {}
+
+ServiceWorkerProviderHostInfo::~ServiceWorkerProviderHostInfo() {}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698