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

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

Issue 375513002: [ServiceWorker] Propagates ServiceWorker fetched response's URL and wasFetchedViaServiceWorker flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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_URL_REQUEST_JOB_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/service_worker/service_worker_status_code.h" 10 #include "content/common/service_worker/service_worker_status_code.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 base::WeakPtr<ServiceWorkerProviderHost> provider_host_; 114 base::WeakPtr<ServiceWorkerProviderHost> provider_host_;
115 115
116 ResponseType response_type_; 116 ResponseType response_type_;
117 bool is_started_; 117 bool is_started_;
118 118
119 net::HttpByteRange byte_range_; 119 net::HttpByteRange byte_range_;
120 scoped_ptr<net::HttpResponseInfo> range_response_info_; 120 scoped_ptr<net::HttpResponseInfo> range_response_info_;
121 scoped_ptr<net::HttpResponseInfo> http_response_info_; 121 scoped_ptr<net::HttpResponseInfo> http_response_info_;
122 // Headers that have not yet been committed to |http_response_info_|. 122 // Headers that have not yet been committed to |http_response_info_|.
123 scoped_refptr<net::HttpResponseHeaders> http_response_headers_; 123 scoped_refptr<net::HttpResponseHeaders> http_response_headers_;
124 GURL responce_url_;
tyoshino (SeeGerritForStatus) 2014/07/07 06:48:37 responce -> response
horo 2014/07/07 06:58:10 Done.
124 125
125 // Used when response type is FORWARD_TO_SERVICE_WORKER. 126 // Used when response type is FORWARD_TO_SERVICE_WORKER.
126 scoped_ptr<ServiceWorkerFetchDispatcher> fetch_dispatcher_; 127 scoped_ptr<ServiceWorkerFetchDispatcher> fetch_dispatcher_;
127 base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context_; 128 base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context_;
128 scoped_ptr<net::URLRequest> blob_request_; 129 scoped_ptr<net::URLRequest> blob_request_;
129 130
130 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; 131 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_;
131 132
132 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); 133 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob);
133 }; 134 };
134 135
135 } // namespace content 136 } // namespace content
136 137
137 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ 138 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/service_worker/service_worker_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698