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

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

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 #include "content/browser/service_worker/service_worker_info.h"
6
7 namespace content {
8
9 ServiceWorkerVersionInfo::ServiceWorkerVersionInfo()
10 : is_null(true),
11 running_status(ServiceWorkerVersion::STOPPED),
12 status(ServiceWorkerVersion::NEW),
13 process_id(-1),
14 thread_id(-1) {}
15
16 ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
17 ServiceWorkerVersion::RunningStatus running_status,
18 ServiceWorkerVersion::Status status,
19 int process_id,
20 int thread_id)
21 : is_null(false),
22 running_status(running_status),
23 status(status),
24 process_id(process_id),
25 thread_id(thread_id) {}
26 ServiceWorkerVersionInfo::~ServiceWorkerVersionInfo() {}
27
28 ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
29 const GURL& script_url,
30 const GURL& pattern,
31 const ServiceWorkerVersionInfo& active_version,
32 const ServiceWorkerVersionInfo& pending_version)
33 : script_url(script_url),
34 pattern(pattern),
35 active_version(active_version),
36 pending_version(pending_version) {}
37
38 ServiceWorkerRegistrationInfo::~ServiceWorkerRegistrationInfo() {}
39
40 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_info.h ('k') | content/browser/service_worker/service_worker_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698