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

Side by Side Diff: content/browser/service_worker/service_worker_info.h

Issue 182383008: Create chrome://serviceworker-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update to ToT Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 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.
4
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
7
8 #include <vector>
9
10 #include "content/browser/service_worker/service_worker_version.h"
11 #include "url/gurl.h"
12
13 namespace content {
14
15 class ServiceWorkerVersionInfo {
16 public:
17 ServiceWorkerVersionInfo();
18 ServiceWorkerVersionInfo(ServiceWorkerVersion::RunningStatus running_status,
19 ServiceWorkerVersion::Status status,
20 int process_id,
21 int thread_id);
22 ~ServiceWorkerVersionInfo();
23
24 bool is_null;
25 ServiceWorkerVersion::RunningStatus running_status;
26 ServiceWorkerVersion::Status status;
27 int process_id;
28 int thread_id;
29 };
30
31 class ServiceWorkerRegistrationInfo {
32 public:
33 ServiceWorkerRegistrationInfo(
34 const GURL& script_url,
35 const GURL& pattern,
36 const ServiceWorkerVersionInfo& active_version,
37 const ServiceWorkerVersionInfo& pending_version);
38 ~ServiceWorkerRegistrationInfo();
39
40 GURL script_url;
41 GURL pattern;
42
43 ServiceWorkerVersionInfo active_version;
44 ServiceWorkerVersionInfo pending_version;
45 };
46
47 } // namespace content
48
49 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_context_core.cc ('k') | content/browser/service_worker/service_worker_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698