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

Side by Side Diff: content/common/service_worker/service_worker_provider.h

Issue 2638313002: Manage ServiceWorkerDispatcherHost in ServiceWorkerContextCore (Closed)
Patch Set: Remove a break line 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 unified diff | Download patch
OLDNEW
(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 {
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:)
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698