| 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 {
|
| + 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_
|
|
|