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

Unified Diff: content/child/request_extra_data.h

Issue 193723003: Identify service worker version at main resource load time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: content/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index 3c98921712b4ae3b96addf554e67cee9b6370f22..5a6b4b0edbcccccac359bf1ab07a4575abbec129 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -13,11 +13,14 @@
namespace content {
-// The RenderView stores an instance of this class in the "extra data" of each
-// ResourceRequest (see RenderFrameImpl::willSendRequest).
+// The RenderView and EmbeddedWorkerContextClient store an instance of this
+// class in the "extra data" of each ResourceRequest (see the willSendRequest
+// methods of RenderFrameImpl and EmbeddedWorkerContextClient willSendRequest).
class CONTENT_EXPORT RequestExtraData
: NON_EXPORTED_BASE(public webkit_glue::WebURLRequestExtraDataImpl) {
public:
+ RequestExtraData();
+ explicit RequestExtraData(int service_worker_provider_id);
dcheng 2014/03/17 22:12:10 I'm not a huge fan of the constructor from int, si
michaeln 2014/03/17 22:53:58 I'd chose this instead of a public setter for just
RequestExtraData(blink::WebPageVisibilityState visibility_state,
const blink::WebString& custom_user_agent,
bool was_after_preconnect_request,
« no previous file with comments | « no previous file | content/child/request_extra_data.cc » ('j') | content/common/service_worker/service_worker_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698