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

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

Issue 998173002: Revise ServiceWorker DevTools protocols. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/browser/service_worker/service_worker_version.h" 10 #include "content/browser/service_worker/service_worker_version.h"
(...skipping 24 matching lines...) Expand all
35 int thread_id; 35 int thread_id;
36 int devtools_agent_route_id; 36 int devtools_agent_route_id;
37 }; 37 };
38 38
39 class CONTENT_EXPORT ServiceWorkerRegistrationInfo { 39 class CONTENT_EXPORT ServiceWorkerRegistrationInfo {
40 public: 40 public:
41 ServiceWorkerRegistrationInfo(); 41 ServiceWorkerRegistrationInfo();
42 ServiceWorkerRegistrationInfo( 42 ServiceWorkerRegistrationInfo(
43 const GURL& pattern, 43 const GURL& pattern,
44 int64 registration_id, 44 int64 registration_id,
45 bool is_deleted,
45 const ServiceWorkerVersionInfo& active_version, 46 const ServiceWorkerVersionInfo& active_version,
46 const ServiceWorkerVersionInfo& waiting_version, 47 const ServiceWorkerVersionInfo& waiting_version,
47 const ServiceWorkerVersionInfo& installing_version, 48 const ServiceWorkerVersionInfo& installing_version,
48 int64_t active_version_total_size_bytes); 49 int64_t active_version_total_size_bytes);
49 ~ServiceWorkerRegistrationInfo(); 50 ~ServiceWorkerRegistrationInfo();
50 51
51 GURL pattern; 52 GURL pattern;
52 int64 registration_id; 53 int64 registration_id;
54 bool is_deleted;
53 ServiceWorkerVersionInfo active_version; 55 ServiceWorkerVersionInfo active_version;
54 ServiceWorkerVersionInfo waiting_version; 56 ServiceWorkerVersionInfo waiting_version;
55 ServiceWorkerVersionInfo installing_version; 57 ServiceWorkerVersionInfo installing_version;
56 58
57 int64_t stored_version_size_bytes; 59 int64_t stored_version_size_bytes;
58 }; 60 };
59 61
60 } // namespace content 62 } // namespace content
61 63
62 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_ 64 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698