Chromium Code Reviews| Index: content/common/service_worker/service_worker_provider.h |
| diff --git a/content/common/service_worker/service_worker_provider.h b/content/common/service_worker/service_worker_provider.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..598f0d729f931b8947d0408fd4fc9e7ceacebb11 |
| --- /dev/null |
| +++ b/content/common/service_worker/service_worker_provider.h |
| @@ -0,0 +1,31 @@ |
| +// 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. |
| + |
| +#ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_H_ |
| +#define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_H_ |
| + |
| +#include "content/common/service_worker/service_worker_types.h" |
| + |
| +namespace content { |
| + |
| +struct CONTENT_EXPORT ServiceWorkerProviderHostInfo { |
|
falken
2017/02/09 01:03:19
nit: If this is the only thing meant for this file
shimazu
2017/02/13 03:25:56
I'm planning to add ServiceWorkerProviderClientInf
falken
2017/02/13 05:59:23
If SWProviderHostInfo will become SWProviderClient
shimazu
2017/02/13 08:20:19
That sounds more reasonable. Renamed:)
|
| + ServiceWorkerProviderHostInfo(); |
| + ServiceWorkerProviderHostInfo(ServiceWorkerProviderHostInfo&& other); |
| + ServiceWorkerProviderHostInfo( |
| + int provider_id, int route_id, ServiceWorkerProviderType type, |
| + bool is_parent_frame_secure); |
| + ~ServiceWorkerProviderHostInfo(); |
| + |
| + int provider_id; |
| + int route_id; |
| + ServiceWorkerProviderType type; |
| + bool is_parent_frame_secure; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHostInfo); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_H_ |