ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / content / browser / service_worker / service_worker_info.h
blob36593a69cc19fecb783ee240a6ea2030c69d3a2f
1 // Copyright 2014 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.
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
8 #include <vector>
10 #include "content/browser/service_worker/service_worker_version.h"
11 #include "content/common/content_export.h"
12 #include "url/gurl.h"
14 namespace content {
16 class CONTENT_EXPORT ServiceWorkerVersionInfo {
17 public:
18 ServiceWorkerVersionInfo();
19 ServiceWorkerVersionInfo(ServiceWorkerVersion::RunningStatus running_status,
20 ServiceWorkerVersion::Status status,
21 const GURL& script_url,
22 int64 version_id,
23 int process_id,
24 int thread_id,
25 int devtools_agent_route_id);
26 ~ServiceWorkerVersionInfo();
28 ServiceWorkerVersion::RunningStatus running_status;
29 ServiceWorkerVersion::Status status;
30 GURL script_url;
31 int64 version_id;
32 int process_id;
33 int thread_id;
34 int devtools_agent_route_id;
37 class CONTENT_EXPORT ServiceWorkerRegistrationInfo {
38 public:
39 ServiceWorkerRegistrationInfo();
40 ServiceWorkerRegistrationInfo(
41 const GURL& pattern,
42 int64 registration_id,
43 const ServiceWorkerVersionInfo& active_version,
44 const ServiceWorkerVersionInfo& waiting_version,
45 const ServiceWorkerVersionInfo& installing_version,
46 int64_t active_version_total_size_bytes);
47 ~ServiceWorkerRegistrationInfo();
49 GURL pattern;
50 int64 registration_id;
51 ServiceWorkerVersionInfo active_version;
52 ServiceWorkerVersionInfo waiting_version;
53 ServiceWorkerVersionInfo installing_version;
55 int64_t stored_version_size_bytes;
58 } // namespace content
60 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_