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

Unified Diff: content/browser/service_worker/service_worker_info.cc

Issue 501453002: Decouple script_url from ServiceWorkerRegistration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync after major collision Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_info.cc
diff --git a/content/browser/service_worker/service_worker_info.cc b/content/browser/service_worker/service_worker_info.cc
index 42570f7e566ad48151901520d38edb0116a2c71b..d1ef56ec8a4a1ea257d94d3e0aec2021ad8ad07a 100644
--- a/content/browser/service_worker/service_worker_info.cc
+++ b/content/browser/service_worker/service_worker_info.cc
@@ -22,6 +22,7 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo()
ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
ServiceWorkerVersion::RunningStatus running_status,
ServiceWorkerVersion::Status status,
+ const GURL& script_url,
int64 version_id,
int process_id,
int thread_id,
@@ -29,6 +30,7 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
: is_null(false),
running_status(running_status),
status(status),
+ script_url(script_url),
version_id(version_id),
process_id(process_id),
thread_id(thread_id),
@@ -40,14 +42,12 @@ ServiceWorkerVersionInfo::~ServiceWorkerVersionInfo() {}
ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo() {}
ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
- const GURL& script_url,
const GURL& pattern,
int64 registration_id,
const ServiceWorkerVersionInfo& active_version,
const ServiceWorkerVersionInfo& waiting_version,
const ServiceWorkerVersionInfo& installing_version)
- : script_url(script_url),
- pattern(pattern),
+ : pattern(pattern),
registration_id(registration_id),
active_version(active_version),
waiting_version(waiting_version),
« no previous file with comments | « content/browser/service_worker/service_worker_info.h ('k') | content/browser/service_worker/service_worker_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698