OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_H_ |
| 6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_H_ |
| 7 |
| 8 #include "content/common/service_worker/service_worker_types.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 struct CONTENT_EXPORT ServiceWorkerProviderHostInfo { |
| 13 ServiceWorkerProviderHostInfo(); |
| 14 ServiceWorkerProviderHostInfo(ServiceWorkerProviderHostInfo&& other); |
| 15 ServiceWorkerProviderHostInfo( |
| 16 int provider_id, int route_id, ServiceWorkerProviderType type, |
| 17 bool is_parent_frame_secure); |
| 18 ~ServiceWorkerProviderHostInfo(); |
| 19 |
| 20 int provider_id; |
| 21 int route_id; |
| 22 ServiceWorkerProviderType type; |
| 23 bool is_parent_frame_secure; |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHostInfo); |
| 27 }; |
| 28 |
| 29 } // namespace content |
| 30 |
| 31 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_H_ |
OLD | NEW |